Skip to content

Commit

Permalink
ignore @types directory from exports in test
Browse files Browse the repository at this point in the history
  • Loading branch information
dvdanielamoitzi committed Mar 5, 2024
1 parent c358c1e commit 97be616
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/demo/randomSurnames.ts
Original file line number Diff line number Diff line change
Expand Up @@ -999,4 +999,4 @@ export const randomSurnames = [
'Kidd',
'Key',
'Cooke',
];
];
2 changes: 1 addition & 1 deletion tests/exports.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import { readdirSync, readFileSync } from 'fs';
import packageJson from '../package.json';

const NOT_EXPORTED_PACKAGES = ['assets', 'demo', 'locales', 'scss', 'stories'];
const NOT_EXPORTED_PACKAGES = ['assets', 'demo', 'locales', 'scss', 'stories', '@types'];
const ADDITIONAL_EXPORTS = ['.', './assets/*', './plotly/full', './scss/*', './phovea_registry', './package.json'];

describe('package.json exports', () => {
Expand Down

0 comments on commit 97be616

Please sign in to comment.