Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
beforeEach(() => createSetsBuilder = sandbox.spy(SetsBuilder, 'create'));
beforeEach(() => {
sandbox.spy(SetsBuilder, 'create');
sandbox.stub(SetsBuilder.prototype, 'useFiles').returnsThis();
sandbox.stub(SetsBuilder.prototype, 'useSets').returnsThis();
sandbox.stub(SetsBuilder.prototype, 'useBrowsers').returnsThis();
sandbox.stub(SetsBuilder.prototype, 'build').resolves({groupByBrowser: () => ({})});
sandbox.stub(TestParser, 'prepare');
sandbox.spy(TestParser, 'create');
sandbox.stub(TestParser.prototype, 'applySkip').returnsThis();
sandbox.stub(TestParser.prototype, 'applyConfigController').returnsThis();
sandbox.stub(TestParser.prototype, 'applyGrep').returnsThis();
sandbox.stub(TestParser.prototype, 'loadFiles').returnsThis();
sandbox.stub(TestParser.prototype, 'parse');
sandbox.spy(TestSkipper, 'create');
});