Skip to content

feat: add web fmt

feat: add web fmt #117

Triggered via push January 31, 2024 14:29
Status Failure
Total duration 1m 46s
Artifacts 1

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 2 warnings
RuntimeError: Unreachable code should not be executed (evaluating 'wasm.format(retptr
at WASM ([wasm code]) at WASM ([wasm code]) at WASM ([wasm code]) at WASM ([wasm code]) at WASM ([wasm code]) at WASM ([wasm code]) at WASM ([wasm code]) at WASM ([wasm code]) at WASM ([wasm code]) at WASM ([wasm code])
error: expect(received).toBe(expected): crates/biome_fmt/test_bun/bun.spec.ts#L51
Expected: "// hi lol\nhaha()<|>\n" Received: "// hi lol\nhaha()<>;\n" at /home/runner/work/biome_fmt/biome_fmt/crates/biome_fmt/test_bun/bun.spec.ts:51:3
error: expect(received).toBe(expected): crates/biome_fmt/test_bun/bun.spec.ts#L51
Expected: "const y = 5\n<|>\n\nconst z = 9;\n" Received: "const y = 5<>;\n\nconst z = 9;\n" at /home/runner/work/biome_fmt/biome_fmt/crates/biome_fmt/test_bun/bun.spec.ts:51:3
error: expect(received).toBe(expected): crates/biome_fmt/test_bun/bun.spec.ts#L51
Expected: "const y = 5\n\n\n\n\n<|>\n" Received: "const y = 5<>;\n" at /home/runner/work/biome_fmt/biome_fmt/crates/biome_fmt/test_bun/bun.spec.ts:51:3
error: expect(received).toBe(expected): crates/biome_fmt/test_bun/bun.spec.ts#L51
Expected: "thisWontBeFormatted <|> ( 1 ,3)\n<<<PRETTIER_RANGE_START>>>\n thisWillBeFormatted (2 ,3, )\n\n <<<PRETTIER_RANGE_END>>> thisWontBeFormatted (2, 90 ,)\n \n" Received: "thisWontBeFormatted<>(1, 3) <<\n\t<PRETTIER_RANGE_START>>>\n thisWillBeFormatted (2 ,3, )\n\n <<<PRETTIER_RANGE_END>>> thisWontBeFormatted (2, 90 ,)\n ;\n" at /home/runner/work/biome_fmt/biome_fmt/crates/biome_fmt/test_bun/bun.spec.ts:51:3
error: expect(received).toBe(expected): crates/biome_fmt/test_bun/bun.spec.ts#L51
Expected: "foo <|> (bar);\n" Received: "foo<>(bar);\n" at /home/runner/work/biome_fmt/biome_fmt/crates/biome_fmt/test_bun/bun.spec.ts:51:3
error: expect(received).toBe(expected): crates/biome_fmt/test_bun/bun.spec.ts#L51
Expected: "thisWillBeFormatted <|> (2 ,3, )\n" Received: "thisWillBeFormatted<>(2, 3);\n" at /home/runner/work/biome_fmt/biome_fmt/crates/biome_fmt/test_bun/bun.spec.ts:51:3
error: expect(received).toBe(expected): crates/biome_fmt/test_bun/bun.spec.ts#L51
Expected: "const y = 5\n\n <|>\n\nconst z = 9;\n" Received: "const y = 5<>;\n\nconst z = 9;\n" at /home/runner/work/biome_fmt/biome_fmt/crates/biome_fmt/test_bun/bun.spec.ts:51:3
error: expect(received).toBe(expected): crates/biome_fmt/test_bun/bun.spec.ts#L51
Expected: "class Something {\n\t@Annotateme()\n // comment\n static property: Array<string>;\n}\n" Received: "class Something {\n\t@Annotateme()\n\t// comment\n\tstatic property: Array<string>;\n}\n" at /home/runner/work/biome_fmt/biome_fmt/crates/biome_fmt/test_bun/bun.spec.ts:51:3
node-test
Process completed with exit code 1.
deno-test
Process completed with exit code 1.
bun-test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: oven-sh/setup-bun@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
deno-test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: denoland/setup-deno@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.

Artifacts

Produced during runtime
Name Size
build Expired
1010 KB