Skip to content

Commit

Permalink
test: temporaily disable dev test in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Oct 5, 2023
1 parent 2606a83 commit 53a96ad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion test/presets/nitro-dev.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import { describe, it, expect } from "vitest";
import { isCI } from "std-env";
import { setupTest, testNitro } from "../tests";

describe("nitro:preset:nitro-dev", async () => {
describe.skipIf(isCI)("nitro:preset:nitro-dev", async () => {
const ctx = await setupTest("nitro-dev");
testNitro(
ctx,
Expand Down
3 changes: 2 additions & 1 deletion test/tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,8 @@ export function testNitro(
!ctx.nitro.options.node ||
// TODO: Investigate
ctx.preset === "bun" ||
ctx.preset === "deno-server"
ctx.preset === "deno-server" ||
ctx.preset === "nitro-dev"
)("sourcemap works", async () => {
const { data } = await callHandler({ url: "/error-stack" });
expect(data.stack).toMatch("test/fixture/routes/error-stack.ts:4:1");
Expand Down

0 comments on commit 53a96ad

Please sign in to comment.