diff --git a/test/index.test.ts b/test/index.test.ts index d53de8e..6c80ad1 100644 --- a/test/index.test.ts +++ b/test/index.test.ts @@ -1,8 +1,13 @@ -import { describe, it, expect } from 'bun:test'; -import { ammos } from '../src'; +import { describe, it, expect } from "bun:test"; +import * as json from "../src"; -describe('data exports', () => { - it('should include ammo', () => { - expect(ammos).toBeDefined(); +describe("available JSON data", () => { + const availableKeys = Object.keys(json); + + availableKeys.forEach((key) => { + it(`should include ${key}`, () => { + // @ts-expect-error + expect(json[key]).toBeDefined(); + }); }); });