-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(tests): add possibility to run e2e tests for different bs versio…
…ns (#4886)
- Loading branch information
1 parent
c0b1870
commit 86436ca
Showing
2 changed files
with
8 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
const cypressTypeScriptPreprocessor = require('./cy-ts-preprocessor'); | ||
|
||
module.exports = on => { | ||
on('file:preprocessor', cypressTypeScriptPreprocessor) | ||
module.exports = (on, config) => { | ||
on('file:preprocessor', cypressTypeScriptPreprocessor); | ||
|
||
config.env.bsVersion = process.env.bsVersion ? process.env.bsVersion : false; | ||
|
||
return config | ||
}; |
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