[improvement] update eslint config (#2288)

This commit is contained in:
neverland
2018-12-14 14:24:23 +08:00
committed by GitHub
parent d2751ffdfa
commit 16e4889a92
141 changed files with 6387 additions and 7536 deletions

View File

@@ -1,9 +1,9 @@
import Notify from '../';
import Notify from '..';
import { transitionStub, later } from '../../../test/utils';
transitionStub();
test('create a notify', async() => {
test('create a notify', async () => {
// should not cause error when call clear before show notify
Notify.clear();
@@ -13,7 +13,7 @@ test('create a notify', async() => {
expect(notify.$el.outerHTML).toMatchSnapshot();
});
test('notify disappear', async() => {
test('notify disappear', async () => {
const notify = Notify({
message: 'test',
color: 'red',