We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98efd54 commit 675d904Copy full SHA for 675d904
test/bin/tsw/util/isTST.test.js
@@ -13,39 +13,26 @@ describe('test isTST', () => {
13
const req = {};
14
15
it('no extendMod', async () => {
16
-
17
18
config.extendMod = false;
19
20
expect(isTST.isTST(req)).to.equal(false);
21
22
});
23
24
it('extendMod no isTST', async () => {
25
26
config.extendMod = {};
27
28
29
30
31
32
it('extendMod isTST return false', async () => {
33
34
config.extendMod = {
35
isTST: () => false
36
};
37
38
39
40
41
42
it('extendMod isTST return true', async () => {
43
44
45
isTST: () => true
46
47
48
expect(isTST.isTST(req)).to.equal(true);
49
50
51
0 commit comments