Skip to content

Commit 62e6faa

Browse files
committed
Fix tests
1 parent 6153ad2 commit 62e6faa

File tree

3 files changed

+3
-195
lines changed

3 files changed

+3
-195
lines changed

test/notifier.spec.js

Lines changed: 0 additions & 192 deletions
This file was deleted.

test/unit/formatters/defaultError.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const expect = require('expect');
33
const test = require('ava');
44
const chalk = require('chalk');
55

6-
const noColor = (arr) => arr.map(chalk.stripColor)
6+
const noColor = (arr) => arr.map(chalk.stripColor);
77
const error = { message: 'Error message', file: './src/index.js' };
88

99
test('Formats errors with no type', () => {

test/unit/plugin/friendlyErrors.spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ const Stats = require('webpack/lib/Stats');
55
const Module = require('webpack/lib/Module');
66
EventEmitter.prototype.plugin = EventEmitter.prototype.on;
77

8-
const debug = require("../src/debug");
9-
const FriendlyErrorsPlugin = require("../index");
8+
const debug = require("../../../src/debug");
9+
const FriendlyErrorsPlugin = require("../../../index");
1010

1111
test('friendlyErrors : capture invalid message', t => {
1212

0 commit comments

Comments
 (0)