20 lines
640 B
TypeScript
20 lines
640 B
TypeScript
/// <reference types="vitest/globals" />
|
|
|
|
import "./src/import-empty.ts";
|
|
import "./src/import-side-effect.ts";
|
|
import "./src/import-type-empty.ts";
|
|
import { importedRuntimeValue } from "./src/import-value.ts";
|
|
import { runtimeValue as namedRuntimeValue } from "./src/reexport-named.ts";
|
|
import { runtimeValue } from "./src/runtime.ts";
|
|
import { runtimeValue as starRuntimeValue } from "./src/reexport-star.ts";
|
|
import type {} from "./src/type-only.ts";
|
|
|
|
test("loads every counter semantics module", () => {
|
|
expect([
|
|
runtimeValue,
|
|
importedRuntimeValue,
|
|
namedRuntimeValue,
|
|
starRuntimeValue,
|
|
]).toEqual([1, 1, 1, 1]);
|
|
});
|