Skip to content

Commit

Permalink
fix test:umd for design-tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
smouillour committed Oct 13, 2023
1 parent c2567d8 commit 3bd4691
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions packages/design-tokens/jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
const defaults = require('@talend/scripts-config-jest/jest.config.js');

module.exports = {
...defaults,
testRegex: '(/__tests__/.*|src/|scripts/).*\\.test.(js|ts|tsx)$',
};
2 changes: 1 addition & 1 deletion packages/design-tokens/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"build:lib": "talend-scripts build && pnpm build:umd:dev && pnpm build:umd:prod && pnpm test:umd",
"test": "echo no test for @talend/design-tokens",
"test:cov": "echo no test for @talend/design-tokens",
"test:umd": "jest scripts/umd.test.js",
"test:umd": "talend-scripts test scripts/umd.test.js",
"lint": "talend-scripts lint"
},
"keywords": [
Expand Down

0 comments on commit 3bd4691

Please sign in to comment.