Skip to content

Commit

Permalink
Update unit test to reflect real-world example
Browse files Browse the repository at this point in the history
  • Loading branch information
ockham committed Feb 9, 2021
1 parent e1b20a0 commit 703c24a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/env/lib/config/test/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ describe( 'readConfig', () => {
'WordPress/gutenberg',
'WordPress/gutenberg#master',
'WordPress/gutenberg#5.0',
'WordPress/theme-experiments/tt1-blocks#f3d2c0d',
'WordPress/theme-experiments/tt1-blocks#tt1-blocks@0.4.3',
],
} )
)
Expand Down Expand Up @@ -399,7 +399,7 @@ describe( 'readConfig', () => {
type: 'git',
url:
'https://github.com/WordPress/theme-experiments.git',
ref: 'f3d2c0d',
ref: 'tt1-blocks@0.4.3',
path: expect.stringMatching(
/^\/.*theme-experiments\/tt1-blocks$/
),
Expand Down

0 comments on commit 703c24a

Please sign in to comment.