Skip to content

Commit

Permalink
test: fix test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
jedwards1211 committed Dec 5, 2021
1 parent fb767db commit b19c3ca
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions test/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,9 @@ describe('writeZip', function () {
new RegExp(
`${packageJson.name
.replace(/^@/, '')
.replace(/\//, '-')}-${packageJson.version.replace(
/\./g,
'\\.'
)}-\\d{17}.zip`
.replace(/\//, '-')}-${packageJson.version.replace(/\./g, '\\.')}${
packageJson.version.endsWith('-development') ? `-\\d{17}` : ''
}.zip`
)
)
expect(result.files).to.contain.members([
Expand Down

0 comments on commit b19c3ca

Please sign in to comment.