build(npm): update to mock-fs@3.6.0

This commit is contained in:
Igor Minar 2016-01-02 20:18:20 -08:00 committed by Igor Minar
parent 1cd2a6328a
commit 625474c4e2
6 changed files with 12 additions and 30 deletions

View File

@ -4196,10 +4196,10 @@
"version": "0.3.5" "version": "0.3.5"
}, },
"mock-fs": { "mock-fs": {
"version": "2.7.1", "version": "3.6.0",
"dependencies": { "dependencies": {
"rewire": { "semver": {
"version": "2.0.1" "version": "5.1.0"
} }
} }
}, },

14
npm-shrinkwrap.json generated
View File

@ -6676,14 +6676,14 @@
"resolved": "https://registry.npmjs.org/mktemp/-/mktemp-0.3.5.tgz" "resolved": "https://registry.npmjs.org/mktemp/-/mktemp-0.3.5.tgz"
}, },
"mock-fs": { "mock-fs": {
"version": "2.7.1", "version": "3.6.0",
"from": "mock-fs@>=2.5.0 <3.0.0", "from": "mock-fs@3.6.0",
"resolved": "https://registry.npmjs.org/mock-fs/-/mock-fs-2.7.1.tgz", "resolved": "https://registry.npmjs.org/mock-fs/-/mock-fs-3.6.0.tgz",
"dependencies": { "dependencies": {
"rewire": { "semver": {
"version": "2.0.1", "version": "5.1.0",
"from": "rewire@>=2.0.0 <2.1.0", "from": "semver@>=5.0.3 <6.0.0",
"resolved": "https://registry.npmjs.org/rewire/-/rewire-2.0.1.tgz" "resolved": "https://registry.npmjs.org/semver/-/semver-5.1.0.tgz"
} }
} }
}, },

View File

@ -93,7 +93,7 @@
"merge2": "^0.3.5", "merge2": "^0.3.5",
"minimatch": "^2.0.1", "minimatch": "^2.0.1",
"minimist": "^1.2.0", "minimist": "^1.2.0",
"mock-fs": "^2.5.0", "mock-fs": "^3.6.0",
"node-uuid": "1.4.x", "node-uuid": "1.4.x",
"on-headers": "^1.0.0", "on-headers": "^1.0.0",
"parse5": "1.3.2", "parse5": "1.3.2",

View File

@ -1,11 +1,6 @@
/// <reference path="../typings/node/node.d.ts" /> /// <reference path="../typings/node/node.d.ts" />
/// <reference path="../typings/jasmine/jasmine.d.ts" /> /// <reference path="../typings/jasmine/jasmine.d.ts" />
console.warn(
"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");
/*
let mockfs = require('mock-fs'); let mockfs = require('mock-fs');
import fs = require('fs'); import fs = require('fs');
import path = require('path'); import path = require('path');
@ -79,4 +74,3 @@ describe('Flatten', () => {
path.sep + "file-1.txt'"); path.sep + "file-1.txt'");
}); });
}); });
*/

View File

@ -1,11 +1,6 @@
/// <reference path="../typings/node/node.d.ts" /> /// <reference path="../typings/node/node.d.ts" />
/// <reference path="../typings/jasmine/jasmine.d.ts" /> /// <reference path="../typings/jasmine/jasmine.d.ts" />
console.warn(
"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");
/*
let mockfs = require('mock-fs'); let mockfs = require('mock-fs');
import fs = require('fs'); import fs = require('fs');
import {TreeDiffer} from './tree-differ'; import {TreeDiffer} from './tree-differ';
@ -94,4 +89,3 @@ describe('MergeTrees', () => {
'Either remove the duplicate or enable the "overwrite" option for this merge.'); 'Either remove the duplicate or enable the "overwrite" option for this merge.');
}); });
}); });
*/

View File

@ -1,18 +1,13 @@
/// <reference path="../typings/node/node.d.ts" /> /// <reference path="../typings/node/node.d.ts" />
/// <reference path="../typings/jasmine/jasmine.d.ts" /> /// <reference path="../typings/jasmine/jasmine.d.ts" />
console.warn(
"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");
/*
let mockfs = require('mock-fs'); let mockfs = require('mock-fs');
import fs = require('fs'); import fs = require('fs');
import path = require('path'); import path = require('path');
import {TreeDiffer} from './tree-differ'; import {TreeDiffer} from './tree-differ';
xdescribe('TreeDiffer', () => { describe('TreeDiffer', () => {
afterEach(() => mockfs.restore()); afterEach(() => mockfs.restore());
@ -381,4 +376,3 @@ xdescribe('TreeDiffer', () => {
}); });
}); });
}); });
*/