File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ module.exports = {
4242 } ,
4343 transformIgnorePatterns : [
4444 // ESM modules should be transformed.
45- '<rootDir>/node_modules/(?!(react-photoswipe-gallery|photoswipe)/)' ,
45+ '<rootDir>/node_modules/(?!(cheerio| react-photoswipe-gallery|photoswipe)/)' ,
4646 ] ,
4747 watchPlugins : [
4848 'jest-watch-typeahead/filename' ,
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import createSagaMiddleware from 'redux-saga';
1111import NestedStatus from 'react-nested-status' ;
1212import supertest from 'supertest' ;
1313import defaultConfig from 'config' ;
14- import cheerio from 'cheerio' ;
14+ import * as cheerio from 'cheerio' ;
1515import { configureStore } from '@reduxjs/toolkit' ;
1616
1717import { REGION_CODE_HEADER , createApiError } from 'amo/api' ;
Original file line number Diff line number Diff line change 1- import cheerio from 'cheerio' ;
1+ import * as cheerio from 'cheerio' ;
22
33import { buildFooter , buildHeader , buildStaticAddonCard } from 'blog-utils' ;
44import { fakeAddon } from 'tests/unit/helpers' ;
You can’t perform that action at this time.
0 commit comments