Skip to content
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.

Commit

Permalink
update consistency test
Browse files Browse the repository at this point in the history
  • Loading branch information
dahukish committed Feb 22, 2022
1 parent 400f38c commit 70081b6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/consistent-package-json.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ const KNOWN_TEMPLATE_KEYS = [
'version',
];

const GLOB_PATH = './*';

const SINGLE_ENTRYPOINT_EXCEPTIONS = ['graphql-persisted'];

const ROOT_PATH = resolve(__dirname, '..');
Expand Down Expand Up @@ -142,7 +144,7 @@ packages.forEach(

it('specifies esnext, import, and require as the ordered keys in the exports map', () => {
Object.keys(packageJSON.exports)
.filter((key) => key !== './')
.filter((key) => key !== GLOB_PATH)
.forEach((key) => {
expect(Object.keys(packageJSON.exports[key])).toStrictEqual([
'esnext',
Expand Down

0 comments on commit 70081b6

Please sign in to comment.