-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: run tests unit test dependent on node version
Co-Authored-By: Jakob Hellermann <[email protected]> Co-Authored-By: Sebastian Köhnen <[email protected]> Co-Authored-By: Daniel Knapp <[email protected]>
- Loading branch information
1 parent
2eb30e0
commit e89bc00
Showing
3 changed files
with
13 additions
and
2 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
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/bash | ||
|
||
nodeVersion=$(node -v) | ||
|
||
if [[ $nodeVersion == *"v10"* ]]; then | ||
npm run test:unit:noDom | ||
else | ||
npm run test:unit | ||
fi | ||
|