0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00

Removed unused sinon referece

https://github.com/TryGhost/Toolbox/issues/140

- There is no need for sinon usage in this test suite
This commit is contained in:
Naz 2021-11-30 10:46:33 +04:00 committed by naz
parent 6e395291fe
commit 21219fff2f

View file

@ -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');