Skip to content

Commit

Permalink
테스트 오류 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
CirnoV committed Aug 1, 2024
1 parent f0f6611 commit 018e353
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/server-sdk/tests/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as fs from "node:fs/promises";
import { createRequire } from "node:module";
import spawnAsync from "@expo/spawn-async";
import { afterAll, beforeAll, describe, expect, test } from "vitest";
import { beforeAll, describe, expect, test } from "vitest";

let uuid: string;

Expand All @@ -21,13 +21,13 @@ beforeAll(async () => {
"-C",
`./temp/${uuid}`,
]);
});

afterAll(async () => {
await fs.rm("./temp", { recursive: true, force: true });
return async () => {
await fs.rm(`./temp/${uuid}`, { recursive: true, force: true });
};
});

describe("can be imported", () => {
describe.concurrent("can be imported", () => {
test("import", async () => {
const sdk = await import(`../temp/${uuid}/package`);
expect(sdk).toMatchObject({});
Expand Down

0 comments on commit 018e353

Please sign in to comment.