Skip to content

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

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

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

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

bun-mac-aarch64.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors
Tests bun-darwin-aarch64
Process completed with exit code 1.
error: expect(received).toEndWith(expected): test/cli/run/require-cache.test.ts#L73
Expected to end with: "--pass--" Received: "{\n leaked: \"46 MB\",\n}\n\n--fail--" at /Users/administrator/actions-runner/_work/bun/bun/test/cli/run/require-cache.test.ts:73:5
error: FAIL: test/js/bun/http/serve.test.ts#L266
at /Users/administrator/actions-runner/_work/bun/bun/test/js/bun/http/serve.test.ts:266:25 at pull (/Users/administrator/actions-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 /Users/administrator/actions-runner/_work/bun/bun/test/js/bun/http/serve.test.ts:266:25 at pull (/Users/administrator/actions-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 /Users/administrator/actions-runner/_work/bun/bun/test/js/bun/http/serve.test.ts:266:25 at pull (/Users/administrator/actions-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 /Users/administrator/actions-runner/_work/bun/bun/test/js/bun/http/serve.test.ts:266:25 at pull (/Users/administrator/actions-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 (/Users/administrator/actions-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)

Artifacts

Produced during runtime
Name Size
bun-darwin-aarch64 Expired
15.6 MB
bun-darwin-aarch64-cpp Expired
113 MB
bun-darwin-aarch64-deps Expired
38.2 MB
bun-darwin-aarch64-profile Expired
17.7 MB
bun-obj-darwin-aarch64 Expired
106 MB