test: Add not to be cases

This commit is contained in:
peaceiris 2019-12-08 15:31:20 +09:00
parent 2b2ecc2dd1
commit 7c7d22c0de
2 changed files with 3 additions and 9 deletions

View file

@ -8,9 +8,6 @@ describe('getOS', () => {
});
test('test exception', () => {
// expect(() => {
// getOS("win32");
// }).toThrowError("Windows is not supported");
expect(() => {
getOS('centos');
}).toThrowError('centos is not supported');