diff --git a/.wp-env.json b/.wp-env.json index ccd1231aa28b2..4d67d71c82fb5 100644 --- a/.wp-env.json +++ b/.wp-env.json @@ -3,7 +3,7 @@ "plugins": [ "." ], - "themes": [ "WordPress/theme-experiments/tt1-blocks" ], + "themes": [ "WordPress/theme-experiments/tt1-blocks#tt1-blocks@0.4.3" ], "env": { "tests": { "mappings": { diff --git a/packages/env/lib/config/test/config.js b/packages/env/lib/config/test/config.js index c9d620b12d218..fef400492b68c 100644 --- a/packages/env/lib/config/test/config.js +++ b/packages/env/lib/config/test/config.js @@ -366,6 +366,7 @@ describe( 'readConfig', () => { 'WordPress/gutenberg', 'WordPress/gutenberg#master', 'WordPress/gutenberg#5.0', + 'WordPress/theme-experiments/tt1-blocks#tt1-blocks@0.4.3', ], } ) ) @@ -394,6 +395,16 @@ describe( 'readConfig', () => { path: expect.stringMatching( /^\/.*gutenberg$/ ), basename: 'gutenberg', }, + { + type: 'git', + url: + 'https://github.com/WordPress/theme-experiments.git', + ref: 'tt1-blocks@0.4.3', + path: expect.stringMatching( + /^\/.*theme-experiments\/tt1-blocks$/ + ), + basename: 'tt1-blocks', + }, ], }; expect( config.env.tests ).toMatchObject( matchObj );