diff --git a/packages/runtime/src/__tests__/sample.test.ts b/packages/runtime/src/__tests__/sample.test.ts deleted file mode 100644 index 12cec95..0000000 --- a/packages/runtime/src/__tests__/sample.test.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { expect, test } from "vitest"; - -test("sample test", () => { - expect(1).toBe(1); -}); diff --git a/packages/runtime/src/__tests__/h.test.ts b/packages/runtime/tests/h.test.ts similarity index 97% rename from packages/runtime/src/__tests__/h.test.ts rename to packages/runtime/tests/h.test.ts index 0108402..0019f1c 100644 --- a/packages/runtime/src/__tests__/h.test.ts +++ b/packages/runtime/tests/h.test.ts @@ -1,5 +1,5 @@ import { describe, expect, test } from "vitest"; -import { HElement, HFragment, HString, h } from "../h"; +import { HElement, HFragment, HString, h } from "../src/h"; describe("testing HElement", () => { test("the creation of a vdom element", () => { diff --git a/packages/runtime/vitest.config.mts b/packages/runtime/vitest.config.mts index cda31c9..56854ba 100644 --- a/packages/runtime/vitest.config.mts +++ b/packages/runtime/vitest.config.mts @@ -1,5 +1,4 @@ import { defineConfig } from "vitest/config"; -import {} from "vitest"; const config = defineConfig({ test: {