cli: be more opinionated about what test files look like

This commit is contained in:
Patrik Oldsberg
2020-07-15 18:53:59 +02:00
parent e2ff11f777
commit 63a13aa70b
+3
View File
@@ -43,6 +43,9 @@ async function getConfig() {
),
},
// A bit more opinionated
testMatch: ['**/?(*.)test.{js,jsx,mjs,ts,tsx}'],
// Default behaviour is to not apply transforms for node_modules, but we still want
// to apply the esm-transformer to .esm.js files, since that's what we use in backstage packages.
transformIgnorePatterns: [