Skip to content

Commit 6915dde

Browse files
committed
Bump dependencies
1 parent 40ce6d6 commit 6915dde

File tree

4 files changed

+26
-10
lines changed

4 files changed

+26
-10
lines changed

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@
122122
"convert-source-map": "^1.2.0",
123123
"core-assert": "^0.2.0",
124124
"currently-unhandled": "^0.4.1",
125-
"debug": "^2.2.0",
125+
"debug": "^3.0.1",
126126
"dot-prop": "^4.1.0",
127127
"empower-core": "^0.6.1",
128128
"equal-length": "^1.0.0",
@@ -159,7 +159,7 @@
159159
"package-hash": "^2.0.0",
160160
"pkg-conf": "^2.0.0",
161161
"plur": "^2.0.0",
162-
"pretty-ms": "^2.0.0",
162+
"pretty-ms": "^3.0.0",
163163
"require-precompiled": "^0.1.0",
164164
"resolve-cwd": "^2.0.0",
165165
"safe-buffer": "^5.1.1",
@@ -179,24 +179,24 @@
179179
"codecov": "^2.1.0",
180180
"del": "^3.0.0",
181181
"delay": "^2.0.0",
182-
"execa": "^0.7.0",
183-
"flow-bin": "^0.49.1",
182+
"execa": "^0.8.0",
183+
"flow-bin": "^0.54.0",
184184
"get-stream": "^3.0.0",
185185
"git-branch": "^1.0.0",
186186
"has-ansi": "^3.0.0",
187187
"inquirer": "^3.0.5",
188188
"is-array-sorted": "^1.0.0",
189-
"lolex": "^1.4.0",
189+
"lolex": "^2.1.2",
190190
"nyc": "^11.0.3",
191191
"proxyquire": "^1.7.4",
192192
"react": "^15.6.1",
193193
"react-test-renderer": "^15.6.1",
194194
"signal-exit": "^3.0.0",
195-
"sinon": "^2.0.0",
195+
"sinon": "^3.2.1",
196196
"source-map-fixtures": "^2.1.0",
197197
"tap": "^10.0.0",
198198
"temp-write": "^3.1.0",
199-
"touch": "^2.0.2",
199+
"touch": "^3.1.0",
200200
"typescript": "^2.2.2",
201201
"xo": "^0.18.2",
202202
"zen-observable": "^0.5.1"

test/reporters/mini.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -750,7 +750,12 @@ test('full-width line when sectioning', t => {
750750
});
751751

752752
test('results with watching enabled', t => {
753-
lolex.install(new Date(2014, 11, 19, 17, 19, 12, 200).getTime(), ['Date']);
753+
lolex.install({
754+
now: new Date(2014, 11, 19, 17, 19, 12, 200).getTime(),
755+
toFake: [
756+
'Date'
757+
]
758+
});
754759
const time = ' ' + chalk.grey.dim('[17:19:12]');
755760

756761
const reporter = miniReporter({color: true, watching: true});

test/reporters/verbose.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,12 @@ chalk.enabled = true;
1717

1818
const stackLineRegex = /.+ \(.+:[0-9]+:[0-9]+\)/;
1919

20-
lolex.install(new Date(2014, 11, 19, 17, 19, 12, 200).getTime(), ['Date']);
20+
lolex.install({
21+
now: new Date(2014, 11, 19, 17, 19, 12, 200).getTime(),
22+
toFake: [
23+
'Date'
24+
]
25+
});
2126
const time = ' ' + chalk.grey.dim('[17:19:12]');
2227

2328
function createReporter(options) {

test/watcher.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,13 @@ group('chokidar', (beforeEach, test, group) => {
101101
clock.uninstall();
102102
}
103103

104-
clock = lolex.install(0, ['setImmediate', 'setTimeout', 'clearTimeout']);
104+
clock = lolex.install({
105+
toFake: [
106+
'setImmediate',
107+
'setTimeout',
108+
'clearTimeout'
109+
]
110+
});
105111

106112
chokidarEmitter = new EventEmitter();
107113
chokidar.watch.returns(chokidarEmitter);

0 commit comments

Comments
 (0)