browsertrix/frontend/src/__mocks__/_empty.js
sua yoo dcd2efcd3b
Fix asset imports in tests (#1611)
Addresses failing test in
https://github.com/webrecorder/browsertrix-cloud/pull/1592 by fixing
asset imports in unit tests. Unit tests now import an empty string for
all assets--note: if we want to test actual asset content, will need to
update this config.
2024-03-19 13:06:07 -07:00

12 lines
205 B
JavaScript

/**
* Use to mock files in tests.
*
* Usage in web-test-runner.config.mjs:
* importMap: {
* imports: {
* 'styles.css': '/src/__mocks__/_empty.js'
* },
* },
*/
export default "";