Skip to content

Commit a97bfd4

Browse files
debug
1 parent e275194 commit a97bfd4

2 files changed

Lines changed: 3 additions & 7 deletions

File tree

deno.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

plugin-vite/tests/build_test.ts

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ Deno.test({
2929
});
3030

3131
Deno.test({
32+
only: true,
3233
name: "vite build - serves static files",
3334
fn: async () => {
3435
await using viteResult = await buildVite();
@@ -42,16 +43,10 @@ Deno.test({
4243
const res = await fetch(`${address}/test_static/foo.txt`);
4344
const text = await res.text();
4445
// deno-lint-ignore no-console
45-
console.log(
46-
Array.from(
47-
await Deno.readDirSync(path.join(viteResult.tmp, "static")),
48-
),
49-
);
50-
// deno-lint-ignore no-console
5146
console.log(
5247
Array.from(
5348
await Deno.readDirSync(
54-
path.join(viteResult.tmp, "_fresh", "static"),
49+
path.join(viteResult.tmp, "_fresh"),
5550
),
5651
),
5752
);

0 commit comments

Comments
 (0)