-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for *.ts files in karma tests (#350)
* #219 Downgrades karma to v4 to add support for *.ts files * #219 - Removes unnecessary devDep * #219 - Upgrades karma to v5 to fix vulnerability
- Loading branch information
Showing
6 changed files
with
946 additions
and
590 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ node_modules | |
|
||
# Configurations | ||
*.config.js | ||
karma.*.js | ||
karma.* | ||
doc | ||
|
||
# Aut-generated directiories | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import './test-jasmine/test/_setupFiles/bootstrap'; | ||
import './test/_setupFiles/bootstrap'; | ||
|
||
// require all modules ending in ".spec.js" from the | ||
// './temp-browser/test' directory and all subdirectories | ||
const testsContext = require.context('./test-jasmine', true, /.spec.js$/); | ||
const testsContext = require.context('./test', true, /.spec.ts$/); | ||
|
||
testsContext.keys().forEach(testsContext); |
Oops, something went wrong.