Skip to content

Commit cf9647a

Browse files
committed
test(alpha): remove iswin32like case
1 parent 92c8d97 commit cf9647a

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

test/bin/tsw/util/alpha.test.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,12 @@ const plug = require('plug');
55
const logger = plug('logger');
66
const alpha = plug('util/alpha.js');
77
const config = plug('config');
8-
const isWindows = plug('util/isWindows');
98

109
logger.setLogLevel('error');
1110

1211
describe('test tsw/util/alpha', () => {
1312

1413
describe('#isAlpha', () => {
15-
it('#check a num in isWin32Like & skymode', () => {
16-
config.skyMode = true;
17-
const stub = sinon.stub(isWindows, 'isWin32Like').callsFake(() => {
18-
return true;
19-
});
20-
const uid = 1;
21-
expect(alpha.isAlpha(uid)).to.be.equal(true);
22-
stub.restore();
23-
});
2414

2515
it('#check a num not skymode', () => {
2616
config.skyMode = false;

0 commit comments

Comments
 (0)