forked from vscode-icons/vscode-icons
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Wallaby integration (vscode-icons#1515)
* Add wallaby.js integration * Add special thanks
- Loading branch information
1 parent
7ec752b
commit 34c2fa1
Showing
3 changed files
with
51 additions
and
0 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,38 @@ | ||
module.exports = (wallaby) => ({ | ||
files: [ | ||
"src/**/*.ts", | ||
"test/support/*.ts", | ||
"locale/lang.*.json", | ||
"package.json", | ||
"package.nls.json", | ||
"package.nls.template.json", | ||
"icons/*.*" | ||
], | ||
tests: [ | ||
"test/**/*.test.ts" | ||
], | ||
filesWithNoCoverageCalculated: [ | ||
], | ||
preprocessors: { | ||
'**/*.json': (file, done) => { | ||
done(file.rename(`../${file.path}`).content) | ||
}, | ||
"icons/*.*": (file, done) => { | ||
done(file.rename(`../${file.path}`).content) | ||
} | ||
}, | ||
hints: { | ||
ignoreCoverage: /\/* wallaby ignore next\/*/ | ||
}, | ||
testFramework: "mocha", | ||
env: { | ||
type: "node", | ||
runner: `${require('os').homedir()}/.nvm/versions/node/v7.9.0/bin/node` | ||
}, | ||
delays: { | ||
run: 500 | ||
}, | ||
debug: true, | ||
reportConsoleErrorAsError: true, | ||
setup: (wallaby) => wallaby.testFramework.ui('bdd') | ||
}); |