Skip to content

Commit

Permalink
fix(ci): test scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
magic-akari committed Jul 25, 2024
1 parent 3ff306e commit 19cbeba
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
with:
node-version-file: ".node-version"

- run: node --test crates/biome_fmt/test_node crates/web_fmt/test_node
- run: node --test crates/**/test_node/*.mjs

deno-test:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion crates/biome_fmt/test_bun/bun.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { expect, test } from "bun:test";
import fs from "node:fs/promises";
import path from "node:path";
import init, { format } from "../pkg";
import init, { format } from "../pkg/biome_fmt.js";

await init();

Expand Down
4 changes: 2 additions & 2 deletions crates/biome_fmt/test_node/test-node.mjs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import init, { format } from "../pkg/biome_fmt_node.js";
import { test } from "node:test";
import assert from "node:assert/strict";
import fs from "node:fs/promises";
import path from "node:path";
import { test } from "node:test";
import { fileURLToPath } from "node:url";
import init, { format } from "../pkg/biome_fmt_node.js";

await init();

Expand Down
2 changes: 1 addition & 1 deletion crates/web_fmt/test_bun/bun.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { expect, test } from "bun:test";
import fs from "node:fs/promises";
import path from "node:path";
import init, { format } from "../pkg";
import init, { format } from "../pkg/web_fmt.js";

await init();

Expand Down
4 changes: 2 additions & 2 deletions crates/web_fmt/test_node/test-node.mjs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import init, { format } from "../pkg/web_fmt_node.js";
import { test } from "node:test";
import assert from "node:assert/strict";
import fs from "node:fs/promises";
import path from "node:path";
import { test } from "node:test";
import { fileURLToPath } from "node:url";
import init, { format } from "../pkg/web_fmt_node.js";

await init();

Expand Down

0 comments on commit 19cbeba

Please sign in to comment.