Skip to content

Commit

Permalink
fix: test match output of build
Browse files Browse the repository at this point in the history
  • Loading branch information
wtto00 committed Oct 19, 2024
1 parent 24139a4 commit 9718082
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion playground/tests/build.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ describe('build', () => {
const output = spawnSync('pnpm', ['-C', 'playground', 'build'], { shell: true, encoding: 'utf8' })
expect(output.status).toBe(0)
expect(output.error).toBeUndefined()
expect(output.stdout).toMatch(/✓ built in \d+ms/)
expect(output.stdout).toMatch(/✓ built in \d+m?s/)

const dir = resolve(import.meta.dirname, '../dist/assets')
const assets = readdirSync(dir)
Expand Down

0 comments on commit 9718082

Please sign in to comment.