mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-17 23:44:39 -05:00
Removed useless code
This commit is contained in:
parent
a8333f22d8
commit
a009616206
3 changed files with 0 additions and 32 deletions
|
@ -1,11 +0,0 @@
|
||||||
/**
|
|
||||||
* Custom Should Assertions
|
|
||||||
*
|
|
||||||
* Add any custom assertions to this file.
|
|
||||||
*/
|
|
||||||
|
|
||||||
// Example Assertion
|
|
||||||
// should.Assertion.add('ExampleAssertion', function () {
|
|
||||||
// this.params = {operator: 'to be a valid Example Assertion'};
|
|
||||||
// this.obj.should.be.an.Object;
|
|
||||||
// });
|
|
|
@ -1,11 +0,0 @@
|
||||||
/**
|
|
||||||
* Test Utilities
|
|
||||||
*
|
|
||||||
* Shared utils for writing tests
|
|
||||||
*/
|
|
||||||
|
|
||||||
// Require overrides - these add globals for tests
|
|
||||||
require('./overrides');
|
|
||||||
|
|
||||||
// Require assertions - adds custom should assertions
|
|
||||||
require('./assertions');
|
|
|
@ -1,10 +0,0 @@
|
||||||
// This file is required before any test is run
|
|
||||||
|
|
||||||
// Taken from the should wiki, this is how to make should global
|
|
||||||
// Should is a global in our eslint test config
|
|
||||||
global.should = require('should').noConflict();
|
|
||||||
should.extend();
|
|
||||||
|
|
||||||
// Sinon is a simple case
|
|
||||||
// Sinon is a global in our eslint test config
|
|
||||||
global.sinon = require('sinon');
|
|
Loading…
Add table
Reference in a new issue