diff --git a/test/bin/tsw/util/isTST.test.js b/test/bin/tsw/util/isTST.test.js index 6e578c4b..a1d6d6f6 100644 --- a/test/bin/tsw/util/isTST.test.js +++ b/test/bin/tsw/util/isTST.test.js @@ -13,39 +13,26 @@ describe('test isTST', () => { const req = {}; it('no extendMod', async () => { - - config.extendMod = false; - expect(isTST.isTST(req)).to.equal(false); - }); it('extendMod no isTST', async () => { - config.extendMod = {}; - expect(isTST.isTST(req)).to.equal(false); - }); it('extendMod isTST return false', async () => { - config.extendMod = { isTST: () => false }; - expect(isTST.isTST(req)).to.equal(false); - }); it('extendMod isTST return true', async () => { - config.extendMod = { isTST: () => true }; - expect(isTST.isTST(req)).to.equal(true); - }); });