* refactor bulkactions component * refactor bulk actions * update dom tests * add addToFleet hook * make signal optional * implement code splitting * add deps * remove test label
10 lines
343 B
JavaScript
10 lines
343 B
JavaScript
// jest-dom adds custom jest matchers for asserting on DOM nodes.
|
|
// allows you to do things like:
|
|
// expect(element).toHaveTextContent(/react/i)
|
|
// learn more: https://github.com/testing-library/jest-dom
|
|
import "@testing-library/jest-dom";
|
|
|
|
if (typeof window.URL.createObjectURL === 'undefined') {
|
|
window.URL.createObjectURL = jest.fn();
|
|
}
|