diff --git a/package.json b/package.json index 3deaf8e..972c1c4 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,7 @@ "--no-warnings" ], "files": [ - "tests/**/*.test.ts" + "src/**/*.test.ts" ] } } diff --git a/tests/main.test.ts b/src/main.test.ts similarity index 66% rename from tests/main.test.ts rename to src/main.test.ts index a3d5ff3..28a0f6c 100644 --- a/tests/main.test.ts +++ b/src/main.test.ts @@ -1,5 +1,5 @@ import test from "ava" -import { result } from "../src/main.js" +import { result } from "./main.js" test("it is b", (t) => { t.deepEqual(result, ["b"])