test: remove query

This commit is contained in:
answershuto 2022-06-28 11:39:10 +08:00 committed by ClarkXia
parent f895275c94
commit 7fef1cd2f0
1 changed files with 0 additions and 1 deletions

View File

@ -21,7 +21,6 @@ describe('createPortal', () => {
} }
const wrapper = render(<App />); const wrapper = render(<App />);
const node = wrapper.queryByTestId('test');
expect(div.childNodes.length).toBe(1); expect(div.childNodes.length).toBe(1);
}); });
}); });