From 197c24ad016764f5927d93ac2680f4bbd9c5f3bc Mon Sep 17 00:00:00 2001 From: MapleLeaf <19603573+itsMapleLeaf@users.noreply.github.com> Date: Wed, 8 Dec 2021 00:57:44 -0600 Subject: [PATCH] meh, colocation --- package.json | 2 +- {tests => src}/main.test.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename {tests => src}/main.test.ts (66%) 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"])