Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/unit.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function webpackConfig(args: any): webpack.Configuration {
const outputPath = output!.path as string;
config.entry = () => {
const unit = globby
.sync([`${basePath}/tests/unit/**/*.ts`])
.sync([`${basePath}/tests/unit/**/*.{ts,tsx}`, `${basePath}/src/**/*.spec.{ts,tsx}`])
.map((filename: string) => filename.replace(/\.ts$/, ''));

const tests: any = {};
Expand Down
2 changes: 1 addition & 1 deletion test-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"build:dev:pwa": "dojo build --dojorc .dojorc-dev-pwa",
"build:dist:pwa:evergreen": "dojo build --dojorc .dojorc-dist-pwa-evergreen",
"build:dev:pwa:evergreen": "dojo build --dojorc .dojorc-dev-pwa-evergreen",
"build:test": "dojo build --mode test"
"build:test": "dojo build --mode unit"
},
"author": "",
"license": "ISC",
Expand Down