Skip to content

Commit 625474c

Browse files
committed
build(npm): update to mock-fs@3.6.0
1 parent 1cd2a63 commit 625474c

6 files changed

Lines changed: 12 additions & 30 deletions

File tree

npm-shrinkwrap.clean.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4196,10 +4196,10 @@
41964196
"version": "0.3.5"
41974197
},
41984198
"mock-fs": {
4199-
"version": "2.7.1",
4199+
"version": "3.6.0",
42004200
"dependencies": {
4201-
"rewire": {
4202-
"version": "2.0.1"
4201+
"semver": {
4202+
"version": "5.1.0"
42034203
}
42044204
}
42054205
},

npm-shrinkwrap.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
"merge2": "^0.3.5",
9494
"minimatch": "^2.0.1",
9595
"minimist": "^1.2.0",
96-
"mock-fs": "^2.5.0",
96+
"mock-fs": "^3.6.0",
9797
"node-uuid": "1.4.x",
9898
"on-headers": "^1.0.0",
9999
"parse5": "1.3.2",

tools/broccoli/broccoli-flatten.spec.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
/// <reference path="../typings/node/node.d.ts" />
22
/// <reference path="../typings/jasmine/jasmine.d.ts" />
33

4-
console.warn(
5-
"Skipping all tests in broccoli-flatten.spec.ts because they require mock-fs which is currently incompatible with node 4.x. See: https://github.com/tschaub/mock-fs/issues/59");
6-
7-
8-
/*
94
let mockfs = require('mock-fs');
105
import fs = require('fs');
116
import path = require('path');
@@ -79,4 +74,3 @@ describe('Flatten', () => {
7974
path.sep + "file-1.txt'");
8075
});
8176
});
82-
*/

tools/broccoli/broccoli-merge-trees.spec.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
/// <reference path="../typings/node/node.d.ts" />
22
/// <reference path="../typings/jasmine/jasmine.d.ts" />
33

4-
console.warn(
5-
"Skipping all tests in broccoli-merge-trees.spec.ts because they require mock-fs which is currently incompatible with node 4.x. See: https://github.com/tschaub/mock-fs/issues/59");
6-
7-
8-
/*
94
let mockfs = require('mock-fs');
105
import fs = require('fs');
116
import {TreeDiffer} from './tree-differ';
@@ -94,4 +89,3 @@ describe('MergeTrees', () => {
9489
'Either remove the duplicate or enable the "overwrite" option for this merge.');
9590
});
9691
});
97-
*/

tools/broccoli/tree-differ.spec.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,13 @@
11
/// <reference path="../typings/node/node.d.ts" />
22
/// <reference path="../typings/jasmine/jasmine.d.ts" />
33

4-
console.warn(
5-
"Skipping all tests in tree-differ.spec.ts because they require mock-fs which is currently incompatible with node 4.x. See: https://github.com/tschaub/mock-fs/issues/59");
6-
7-
8-
/*
94
let mockfs = require('mock-fs');
105
import fs = require('fs');
116
import path = require('path');
127
import {TreeDiffer} from './tree-differ';
138

149

15-
xdescribe('TreeDiffer', () => {
10+
describe('TreeDiffer', () => {
1611

1712
afterEach(() => mockfs.restore());
1813

@@ -381,4 +376,3 @@ xdescribe('TreeDiffer', () => {
381376
});
382377
});
383378
});
384-
*/

0 commit comments

Comments
 (0)