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 dbdaee2 commit 53b096aCopy full SHA for 53b096a
test/unit/bin/helpers/reporterHTML.js
@@ -276,7 +276,7 @@ describe("reportHTML", () => {
276
describe("Modify Cypress Report Data", ()=> {
277
const reporterHTML = rewire('../../../../bin/helpers/reporterHTML');
278
const cypressReportData = reporterHTML.__get__('cypressReportData');
279
- let getMock = sinon.mock(request);
+ let getMock;
280
const cypress_report_data_with_config = {
281
cypress_version: "6.8.0",
282
rows: {
@@ -307,6 +307,12 @@ describe("reportHTML", () => {
307
}
308
309
310
+ beforeEach(() =>{
311
+ getMock = sinon.mock(request);
312
+ })
313
+ afterEach(() =>{
314
+ getMock.restore();
315
316
it("Generate Report Data for cypress version > 6", async ()=>{
317
let configResponse = {
318
"tests": [
0 commit comments