From dfd600da4e54d6bc0ccd20b160fd2c80511989cb Mon Sep 17 00:00:00 2001 From: Erin Millard Date: Sat, 30 Sep 2023 14:58:29 +1000 Subject: [PATCH] Add a module index --- src/index.ts | 2 ++ test/jest/lat_lon2n_E.spec.ts | 2 +- test/jest/n_E2lat_lon.spec.ts | 3 +-- 3 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 src/index.ts diff --git a/src/index.ts b/src/index.ts new file mode 100644 index 0000000..a02e87d --- /dev/null +++ b/src/index.ts @@ -0,0 +1,2 @@ +export { lat_lon2n_E } from "./lat_lon2n_E.js"; +export { n_E2lat_lon } from "./n_E2lat_lon.js"; diff --git a/test/jest/lat_lon2n_E.spec.ts b/test/jest/lat_lon2n_E.spec.ts index 8532fd7..1b9ea68 100644 --- a/test/jest/lat_lon2n_E.spec.ts +++ b/test/jest/lat_lon2n_E.spec.ts @@ -1,5 +1,5 @@ import { it } from "@fast-check/jest"; -import { lat_lon2n_E } from "../../src/lat_lon2n_E.js"; +import { lat_lon2n_E } from "../../src/index.js"; import { arbitraryLatLon } from "../arbitrary.js"; import { NvectorTestClient, diff --git a/test/jest/n_E2lat_lon.spec.ts b/test/jest/n_E2lat_lon.spec.ts index 52fb277..dddd724 100644 --- a/test/jest/n_E2lat_lon.spec.ts +++ b/test/jest/n_E2lat_lon.spec.ts @@ -1,6 +1,5 @@ import { it } from "@fast-check/jest"; -import { lat_lon2n_E } from "../../src/lat_lon2n_E.js"; -import { n_E2lat_lon } from "../../src/n_E2lat_lon.js"; +import { lat_lon2n_E, n_E2lat_lon } from "../../src/index.js"; import { arbitraryLatLon } from "../arbitrary.js"; import { NvectorTestClient,