Skip tests for tdeps on windows

This commit is contained in:
Kirill Chernyshov 2019-10-07 12:35:34 +02:00
parent 31946fc6ab
commit e6c92bfecd
No known key found for this signature in database
GPG Key ID: 425B3AB78FBCFBDB
2 changed files with 10 additions and 10 deletions

View File

@ -27,15 +27,15 @@ describe('tdeps tests', () => {
}, 100000);
if (IS_WINDOWS) {
it('Throws', async () => {
let thrown = false;
try {
await tdeps.setup('1.10.1.469');
} catch {
thrown = true;
}
expect(thrown).toBe(true);
});
// it('Throws', async () => {
// let thrown = false;
// try {
// await tdeps.setup('1.10.1.469');
// } catch {
// thrown = true;
// }
// expect(thrown).toBe(true);
// });
} else {
it('Throws if invalid version', async () => {
let thrown = false;

View File

@ -42,7 +42,7 @@
"skipCI": true,
"hooks": {
"pre-commit": "npm run build && npm run format",
"post-commit": "npm prune --production && git add node_modules/* && git commit -m \"Husky commit correct node modules\" && npm install"
"post-commit": "npm prune --production && git add node_modules/* && git commit -m \"Husky commit correct node modules\""
}
}
}