Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(test): support promise rejection in expect().rejects.toThrow #7652

Merged
merged 1 commit into from
Dec 14, 2023

Conversation

paperclover
Copy link
Member

What does this PR do?

Fixes #7631

Copy link
Contributor

@paperdave 1 files with test failures on linux-x64-baseline:

  • test/integration/next/default-pages-dir/test/next-build.test.ts

View test output

#b0563edc0c5ed9b1827b155290bc00c037e5b234

Copy link
Contributor

@paperdave 1 files with test failures on linux-x64:

  • test/integration/next/default-pages-dir/test/next-build.test.ts

View test output

#b0563edc0c5ed9b1827b155290bc00c037e5b234

@Jarred-Sumner Jarred-Sumner merged commit 1fc9b56 into main Dec 14, 2023
17 of 28 checks passed
Copy link
Contributor

@paperdave 4 files with test failures on bun-darwin-aarch64:

  • test/cli/install/registry/bun-install-registry.test.ts
  • test/cli/run/require-cache.test.ts
  • test/integration/next/default-pages-dir/test/dev-server.test.ts
  • test/integration/next/default-pages-dir/test/next-build.test.ts

View test output

#b0563edc0c5ed9b1827b155290bc00c037e5b234

@Jarred-Sumner Jarred-Sumner deleted the dave/expect-promise-toThrow branch December 14, 2023 07:18
Copy link
Contributor

@paperdave 7 files with test failures on bun-darwin-x64-baseline:

  • test/integration/next/default-pages-dir/test/next-build.test.ts
  • test/js/bun/spawn/spawn-streaming-stdout.test.ts
  • test/js/bun/util/which.test.ts
  • test/js/node/fs/fs.test.ts
  • test/js/third_party/webpack/webpack.test.ts
  • test/js/web/timers/setTimeout.test.js
  • test/js/web/workers/worker.test.ts

View test output

#b0563edc0c5ed9b1827b155290bc00c037e5b234

Copy link
Contributor

@paperdave 11 files with test failures on bun-darwin-x64:

  • test/integration/next/default-pages-dir/test/dev-server.test.ts
  • test/integration/next/default-pages-dir/test/next-build.test.ts
  • test/js/bun/ffi/ffi.test.js
  • test/js/bun/http/bun-server.test.ts
  • test/js/bun/spawn/spawn-streaming-stdout.test.ts
  • test/js/bun/util/which.test.ts
  • test/js/node/fs/fs.test.ts
  • test/js/node/watch/fs.watchFile.test.ts
  • test/js/third_party/webpack/webpack.test.ts
  • test/js/web/timers/setInterval.test.js
  • test/js/web/timers/setTimeout.test.js

View test output

#b0563edc0c5ed9b1827b155290bc00c037e5b234

ryoppippi pushed a commit to ryoppippi/bun that referenced this pull request Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Jest rejects.toThrow doesn't work as expected
2 participants