Skip to content

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

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

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

Triggered via pull request December 14, 2023 06:31
Status Failure
Total duration 28m 10s
Artifacts 4
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

bun-linux-build.yml

on: pull_request
Matrix: linux
Matrix: linux-test
Fit to window
Zoom out
Zoom in

Annotations

16 errors and 4 warnings
Tests linux-x64-baseline-assertions
Unable to find an artifact with the name: bun-linux-x64-baseline-assertions
Tests linux-x64-assertions
Unable to find an artifact with the name: bun-linux-x64-assertions
Tests linux-x64-baseline
Process completed with exit code 1.
error: expect(received).toBe(expected): test/integration/next/default-pages-dir/test/next-build.test.ts#L114
Expected: / 5.61 css/e7d3bab42d9af29d.css 612 /404 181 chunks/main-084bb16b27d2ff43.js 31.6 chunks/pages/_app-da8c390fdb16dc7d.js 296 chunks/webpack-f73d82589f972e7d.js 745 css/64e35c75ac8db195.css 3.4 (SSG) automatically generated as static HTML + JSON (uses getStaticProps)\n\n" Received: / 5.58 css/e7d3bab42d9af29d.css 613 /404 182 chunks/main-084bb16b27d2ff43.js 31.5 chunks/pages/_app-da8c390fdb16dc7d.js 297 chunks/webpack-f73d82589f972e7d.js 743 css/64e35c75ac8db195.css 3.39 (SSG) automatically generated as static HTML + JSON (uses getStaticProps)\n\n" at /home/runner/work/bun/bun/test/integration/next/default-pages-dir/test/next-build.test.ts:114:3
error: FAIL: test/js/bun/http/serve.test.ts#L266
at /home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:266:25 at pull (/home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:263:40) at promiseInvokeOrNoopMethodNoCatch (:1:21) at promiseInvokeOrNoopMethod (:1:21) at readableStreamDefaultControllerCallPullIfNeeded (:1:21)
error: FAIL: test/js/bun/http/serve.test.ts#L266
at /home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:266:25 at pull (/home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:263:40) at promiseInvokeOrNoopMethodNoCatch (:1:21) at promiseInvokeOrNoopMethod (:1:21) at readableStreamDefaultControllerCallPullIfNeeded (:1:21)
error: FAIL: test/js/bun/http/serve.test.ts#L266
at /home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:266:25 at pull (/home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:263:40) at promiseInvokeOrNoopMethodNoCatch (:1:21) at promiseInvokeOrNoopMethod (:1:21) at readableStreamDefaultControllerCallPullIfNeeded (:1:21)
error: FAIL: test/js/bun/http/serve.test.ts#L266
at /home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:266:25 at pull (/home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:263:40) at promiseInvokeOrNoopMethodNoCatch (:1:21) at promiseInvokeOrNoopMethod (:1:21) at readableStreamDefaultControllerCallPullIfNeeded (:1:21)
error: TestPassed: test/js/bun/http/serve.test.ts#L229
at pull (/home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:229:25) at promiseInvokeOrNoopMethodNoCatch (:1:21) at promiseInvokeOrNoopMethod (:1:21) at readableStreamDefaultControllerCallPullIfNeeded (:1:21)
error: expect(received).toBe(expected): test/integration/next/default-pages-dir/test/next-build.test.ts#L114
Expected: / 5.61 css/e7d3bab42d9af29d.css 612 /404 181 chunks/main-084bb16b27d2ff43.js 31.6 chunks/pages/_app-da8c390fdb16dc7d.js 296 chunks/webpack-f73d82589f972e7d.js 745 css/64e35c75ac8db195.css 3.4 (SSG) automatically generated as static HTML + JSON (uses getStaticProps)\n\n" Received: / 5.58 css/e7d3bab42d9af29d.css 613 /404 182 chunks/main-084bb16b27d2ff43.js 31.5 chunks/pages/_app-da8c390fdb16dc7d.js 297 chunks/webpack-f73d82589f972e7d.js 743 css/64e35c75ac8db195.css 3.39 (SSG) automatically generated as static HTML + JSON (uses getStaticProps)\n\n" at /home/runner/work/bun/bun/test/integration/next/default-pages-dir/test/next-build.test.ts:114:3
error: FAIL: test/js/bun/http/serve.test.ts#L266
at /home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:266:25 at pull (/home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:263:40) at promiseInvokeOrNoopMethodNoCatch (:1:21) at promiseInvokeOrNoopMethod (:1:21) at readableStreamDefaultControllerCallPullIfNeeded (:1:21)
error: FAIL: test/js/bun/http/serve.test.ts#L266
at /home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:266:25 at pull (/home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:263:40) at promiseInvokeOrNoopMethodNoCatch (:1:21) at promiseInvokeOrNoopMethod (:1:21) at readableStreamDefaultControllerCallPullIfNeeded (:1:21)
error: FAIL: test/js/bun/http/serve.test.ts#L266
at /home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:266:25 at pull (/home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:263:40) at promiseInvokeOrNoopMethodNoCatch (:1:21) at promiseInvokeOrNoopMethod (:1:21) at readableStreamDefaultControllerCallPullIfNeeded (:1:21)
error: FAIL: test/js/bun/http/serve.test.ts#L266
at /home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:266:25 at pull (/home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:263:40) at promiseInvokeOrNoopMethodNoCatch (:1:21) at promiseInvokeOrNoopMethod (:1:21) at readableStreamDefaultControllerCallPullIfNeeded (:1:21)
error: TestPassed: test/js/bun/http/serve.test.ts#L229
at pull (/home/runner/work/bun/bun/test/js/bun/http/serve.test.ts:229:25) at promiseInvokeOrNoopMethodNoCatch (:1:21) at promiseInvokeOrNoopMethod (:1:21) at readableStreamDefaultControllerCallPullIfNeeded (:1:21)
Tests linux-x64
Process completed with exit code 1.
linux-x64
No files were found with the provided path: /home/runner/work/_temp/release/bun-dependencies. No artifacts will be uploaded.
linux-x64
No files were found with the provided path: /home/runner/work/_temp/release/bun-obj. No artifacts will be uploaded.
linux-x64-baseline
No files were found with the provided path: /home/runner/work/_temp/release/bun-obj. No artifacts will be uploaded.
linux-x64-baseline
No files were found with the provided path: /home/runner/work/_temp/release/bun-dependencies. No artifacts will be uploaded.

Artifacts

Produced during runtime
Name Size
bun-linux-x64 Expired
32.9 MB
bun-linux-x64-baseline Expired
32.8 MB
bun-linux-x64-baseline-profile Expired
59.5 MB
bun-linux-x64-profile Expired
59.6 MB