diff --git a/examples/debug.tsx b/examples/debug.tsx
index 9d04d30b..46e2eddb 100644
--- a/examples/debug.tsx
+++ b/examples/debug.tsx
@@ -1,33 +1,14 @@
-/* eslint-disable */
-
import React from 'react';
import TreeSelect from '../src';
import '../assets/index.less';
-const { TreeNode, SHOW_ALL, SHOW_CHILD } = TreeSelect;
-const SelectNode = TreeNode;
-
const treeData = [
{ key: '0', value: '0', title: 'label0' },
{ key: '1', value: '1', title: 'label1' },
];
-const children = [
- ,
- ,
-];
-
const createSelect = props => ;
-// export default () => (
-//
-// );
-
export default () =>
createSelect({
maxTagCount: 1,
diff --git a/tests/Select.SearchInput.spec.js b/tests/Select.SearchInput.spec.js
index 2cb3e061..694d5521 100644
--- a/tests/Select.SearchInput.spec.js
+++ b/tests/Select.SearchInput.spec.js
@@ -1,5 +1,5 @@
/* eslint-disable no-undef */
-import React, { useEffect, useState } from 'react';
+import React, { useState } from 'react';
import { mount } from 'enzyme';
import TreeSelect, { TreeNode } from '../src';