Initial Commit
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
import { describe, expect, it } from "@suaveplan/testing/runner";
|
||||
|
||||
describe("exports", () => {
|
||||
it("every feature module has a subpath export entry", {
|
||||
timeout: 5000,
|
||||
}, () => {
|
||||
const pkg = require("../package.json");
|
||||
const exports = Object.keys(pkg.exports ?? {});
|
||||
expect(exports).toContain(
|
||||
"./core/audio-sprite-packer/audio-sprite-packer"
|
||||
);
|
||||
expect(exports).toContain("./adapters/null-adapter/null-adapter");
|
||||
expect(exports).toContain("./utils/manifest/manifest");
|
||||
expect(exports).toContain("./error-codes");
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user