mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 03:59:01 +08:00
tests: Fix table import
This commit is contained in:
parent
07103b9fb6
commit
666e80a1ba
Binary file not shown.
@ -1,7 +1,7 @@
|
||||
import React from 'react';
|
||||
import { render, mount } from 'enzyme';
|
||||
import { renderToJson } from 'enzyme-to-json';
|
||||
import Table from '../table';
|
||||
import Table from '..';
|
||||
|
||||
describe('Table.filter', () => {
|
||||
const filterFn = (value, record) => record.name === 'Lucy';
|
||||
|
@ -1,7 +1,7 @@
|
||||
import React from 'react';
|
||||
import { render, mount } from 'enzyme';
|
||||
import { renderToJson } from 'enzyme-to-json';
|
||||
import Table from '../table';
|
||||
import Table from '..';
|
||||
|
||||
describe('Table.pagination', () => {
|
||||
const columns = [{
|
||||
|
@ -1,6 +1,6 @@
|
||||
import React from 'react';
|
||||
import { mount } from 'enzyme';
|
||||
import Table from '../table';
|
||||
import Table from '..';
|
||||
|
||||
describe('Table.rowSelection', () => {
|
||||
const columns = [{
|
||||
|
@ -1,7 +1,7 @@
|
||||
import React from 'react';
|
||||
import { render, mount } from 'enzyme';
|
||||
import { renderToJson } from 'enzyme-to-json';
|
||||
import Table from '../table';
|
||||
import Table from '..';
|
||||
|
||||
describe('Table.sorter', () => {
|
||||
const sorterFn = (a, b) => a.name[0].charCodeAt() - b.name[0].charCodeAt();
|
||||
|
@ -1,7 +1,7 @@
|
||||
import React from 'react';
|
||||
import { render, shallow } from 'enzyme';
|
||||
import { renderToJson } from 'enzyme-to-json';
|
||||
import Table from '../table';
|
||||
import Table from '..';
|
||||
|
||||
const { Column, ColumnGroup } = Table;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user