From 21219fff2fef0beb6093573acad4b17c24d15315 Mon Sep 17 00:00:00 2001 From: Naz Date: Tue, 30 Nov 2021 10:46:33 +0400 Subject: [PATCH] Removed unused sinon referece https://github.com/TryGhost/Toolbox/issues/140 - There is no need for sinon usage in this test suite --- test/e2e-frontend/custom_routes.test.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/test/e2e-frontend/custom_routes.test.js b/test/e2e-frontend/custom_routes.test.js index bcdca95b0f..426e443a8d 100644 --- a/test/e2e-frontend/custom_routes.test.js +++ b/test/e2e-frontend/custom_routes.test.js @@ -1,5 +1,4 @@ const should = require('should'); -const sinon = require('sinon'); const supertest = require('supertest'); const path = require('path'); const moment = require('moment'); @@ -16,10 +15,6 @@ function assertCorrectFrontendHeaders(res) { describe('Custom Frontend routing', function () { let request; - afterEach(function () { - sinon.restore(); - }); - before(async function () { const routesFilePath = path.join(configUtils.config.get('paths:appRoot'), 'test/utils/fixtures/settings/newroutes.yaml');