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 ac3212e commit 9b676c9Copy full SHA for 9b676c9
spec/_setup.spec.js
@@ -0,0 +1,10 @@
1
+const sinon = require('sinon');
2
+const chai = require('chai');
3
+
4
+beforeEach(function () {
5
+ this.sandbox = sinon.sandbox.create()
6
+});
7
8
+afterEach(function () {
9
+ this.sandbox.restore()
10
spec/include/file-config.spec.js
@@ -1,12 +1,3 @@
-const tempfile = require('tempfile');
-const config = require('./../../src/include/file-config');
-const expect = require('chai').expect;
-
describe('The file config class', () => {
- it('it takes and stores the current working directory', () => {
- let workDir = tempfile(),
- Config = new config(workDir);
- expect(Config.workDir).to.equal(workDir);
11
- });
12
});
0 commit comments