Skip to content

Commit

Permalink
Update a couple flakey tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ijjk committed May 20, 2022
1 parent 036ffa7 commit 859bd98
Show file tree
Hide file tree
Showing 14 changed files with 134 additions and 294 deletions.
6 changes: 1 addition & 5 deletions test/integration/cli/test/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -491,12 +491,8 @@ describe('CLI Usage', () => {
stdout: true,
stderr: true,
})
expect((info.stderr || '').toLowerCase()).not.toContain('error')

// when a stable release is done the non-latest canary
// warning will show so skip this check for the stable release
if (pkg.version.includes('-canary')) {
expect(info.stderr || '').toBe('')
}
expect(info.stdout).toMatch(
new RegExp(`
Operating System:
Expand Down
3 changes: 0 additions & 3 deletions test/integration/pnpm-support/app-multi-page/.babelrc

This file was deleted.

14 changes: 0 additions & 14 deletions test/integration/pnpm-support/app-multi-page/package.json

This file was deleted.

3 changes: 0 additions & 3 deletions test/integration/pnpm-support/app/.babelrc

This file was deleted.

14 changes: 0 additions & 14 deletions test/integration/pnpm-support/app/package.json

This file was deleted.

255 changes: 0 additions & 255 deletions test/integration/pnpm-support/test/index.test.js

This file was deleted.

Loading

0 comments on commit 859bd98

Please sign in to comment.