[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

@@ -38,7 +38,7 @@ function createWrapper(options) {
});
}
test('click to switch tab', async() => {
test('click to switch tab', async () => {
const onChange = jest.fn();
const wrapper = createWrapper({
methods: {
@@ -57,7 +57,7 @@ test('click to switch tab', async() => {
expect(onChange.mock.calls.length).toEqual(1);
});
test('swipe to switch tab', async() => {
test('swipe to switch tab', async () => {
const onChange = jest.fn();
const wrapper = createWrapper({
methods: {
@@ -81,7 +81,7 @@ test('swipe to switch tab', async() => {
wrapper.destroy();
});
test('change tabs data', async() => {
test('change tabs data', async () => {
const wrapper = createWrapper();
expect(wrapper).toMatchSnapshot();