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

add jest.setTimeout to bun test #10687

Open
wants to merge 30 commits into
base: main
Choose a base branch
from
Open

add jest.setTimeout to bun test #10687

wants to merge 30 commits into from

Conversation

dylan-conway
Copy link
Collaborator

@dylan-conway dylan-conway commented Apr 30, 2024

What does this PR do?

Implements jest.setTimeout for bun test, setting the default test timeout for all tests in a file and resetting for the next file.
https://jestjs.io/docs/jest-object#jestsettimeouttimeout

How did you verify your code works?

added a test

Copy link

github-actions bot commented Apr 30, 2024

@dylan-conway, your commit has failing tests :(

💪 4 failing tests Darwin AARCH64

  • test/cli/install/bun-upgrade.test.ts 1 failing
  • test/integration/next-pages/test/next-build.test.ts SIGKILL
  • test/js/bun/test/test-test.test.ts 1 failing
  • test/js/node/tls/node-tls-context.test.ts 1 failing

💻 2 failing tests Darwin x64 baseline

  • test/js/bun/http/serve.test.ts 1 failing
  • test/js/bun/test/test-test.test.ts 1 failing

💻 2 failing tests Darwin x64

  • test/js/bun/test/test-test.test.ts 1 failing
  • test/js/web/fetch/fetch.tls.test.ts 1 failing

🐧💪 2 failing tests Linux AARCH64

  • test/js/bun/http/serve.test.ts 1 failing
  • test/js/bun/test/test-test.test.ts 1 failing

🐧🖥 2 failing tests Linux x64 baseline

  • test/js/bun/test/test-test.test.ts 1 failing
  • test/js/node/child_process/child_process-node.test.js 1 failing

🐧🖥 3 failing tests Linux x64

  • test/integration/mysql2/mysql2.test.ts 2 failing
  • test/js/bun/test/test-test.test.ts 1 failing
  • test/js/node/child_process/child_process-node.test.js 1 failing

🪟💻 8 failing tests Windows x64 baseline

  • test/cli/install/bunx.test.ts 1 failing
  • test/cli/test/bun-test.test.ts 1 failing
  • test/js/bun/shell/bunshell.test.ts 1 failing
  • test/js/bun/test/test-test.test.ts 1 failing
  • test/js/node/dns/node-dns.test.js SIGKILL
  • test/js/node/http/node-http.test.ts 1 failing
  • test/js/node/process/process.test.js 2 failing
  • test/js/node/watch/fs.watchFile.test.ts SIGKILL

🪟💻 8 failing tests Windows x64

  • test/cli/install/bunx.test.ts 1 failing
  • test/js/bun/shell/bunshell.test.ts 1 failing
  • test/js/bun/test/test-test.test.ts 1 failing
  • test/js/node/dns/node-dns.test.js SIGKILL
  • test/js/node/http/node-http.test.ts 1 failing
  • test/js/node/process/process.test.js 2 failing
  • test/js/node/watch/fs.watchFile.test.ts SIGKILL
  • test/js/web/fetch/fetch.tls.test.ts 1 failing

View logs

@dylan-conway dylan-conway marked this pull request as ready for review May 23, 2024 00:06
@dylan-conway dylan-conway changed the title jest setTimeout testing add jest.setTimeout to bun test May 23, 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.

None yet

2 participants