From b8a7689c2e87e23b0deb67f4c6ea6a7e1792b15f Mon Sep 17 00:00:00 2001 From: jxom Date: Mon, 3 Jun 2024 12:16:33 +1000 Subject: [PATCH] chore: test exports --- src/exports/index.test.ts | 11 +++++++++++ src/exports/instances.test.ts | 10 ++++++++++ 2 files changed, 21 insertions(+) create mode 100644 src/exports/index.test.ts create mode 100644 src/exports/instances.test.ts diff --git a/src/exports/index.test.ts b/src/exports/index.test.ts new file mode 100644 index 0000000..f70e3ac --- /dev/null +++ b/src/exports/index.test.ts @@ -0,0 +1,11 @@ +import { expect, test } from 'vitest' +import * as exports from './index.js' + +test('exports', () => { + expect(Object.keys(exports)).toMatchInlineSnapshot(` + [ + "defineInstance", + "definePool", + ] + `) +}) diff --git a/src/exports/instances.test.ts b/src/exports/instances.test.ts new file mode 100644 index 0000000..014bdac --- /dev/null +++ b/src/exports/instances.test.ts @@ -0,0 +1,10 @@ +import { expect, test } from 'vitest' +import * as exports from './instances.js' + +test('exports', () => { + expect(Object.keys(exports)).toMatchInlineSnapshot(` + [ + "anvil", + ] + `) +})