mirror of
https://github.com/youzan/vant.git
synced 2025-10-22 03:44:48 +00:00
[improvement] update eslint config (#2288)
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user