Skip to content

Commit

Permalink
move nextjs test-assets into subfolder to allow for more tests in the…
Browse files Browse the repository at this point in the history
… future
  • Loading branch information
nomo-app committed Dec 5, 2023
1 parent 64ff3f0 commit f041757
Show file tree
Hide file tree
Showing 29 changed files with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/e2e/build-webon-test/packaging-completed.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ import {
runE2ETest,
} from "../../test-util/test-util";

test("successful tar.gz build", async () => {
const output = await runE2ETest("build test_assets/out/");
test("nextjs_sample tar.gz build", async () => {
const output = await runE2ETest("build test_assets/nextjs_sample/out/");
expect(output).toContain("Build and packaging completed!");
const existsFile = fs.existsSync("test_assets/out/nomo.tar.gz");
const existsFile = fs.existsSync("test_assets/nextjs_sample/out/nomo.tar.gz");
expect(existsFile).toBe(true);
await new Promise((resolve) => setTimeout(resolve, 5000));
fs.unlinkSync("test_assets/out/nomo.tar.gz");
fs.unlinkSync("test_assets/nextjs_sample/out/nomo.tar.gz");
});

test("missing required file", async () => {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.

0 comments on commit f041757

Please sign in to comment.