mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 10:44:59 +00:00
[improvement] update eslint config (#2288)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import Field from '../';
|
||||
import Field from '..';
|
||||
import { mount, later } from '../../../test/utils';
|
||||
|
||||
test('input event', () => {
|
||||
@@ -55,7 +55,7 @@ test('keypress event', () => {
|
||||
expect(calls.length).toBe(2);
|
||||
});
|
||||
|
||||
test('render textarea', async() => {
|
||||
test('render textarea', async () => {
|
||||
const wrapper = mount(Field, {
|
||||
propsData: {
|
||||
type: 'textarea',
|
||||
@@ -82,7 +82,7 @@ test('autosize textarea field', () => {
|
||||
expect(textarea.element.value).toEqual(value);
|
||||
});
|
||||
|
||||
test('autosize object', async() => {
|
||||
test('autosize object', async () => {
|
||||
const wrapper = mount(Field, {
|
||||
propsData: {
|
||||
type: 'textarea',
|
||||
@@ -120,7 +120,7 @@ test('focus method', () => {
|
||||
expect(fn.mock.calls.length).toEqual(1);
|
||||
});
|
||||
|
||||
test('maxlength', async() => {
|
||||
test('maxlength', async () => {
|
||||
const wrapper = mount(Field, {
|
||||
attrs: {
|
||||
maxlength: 3
|
||||
|
Reference in New Issue
Block a user