mirror of
https://github.com/scratchfoundation/scratch-storage.git
synced 2025-08-01 17:09:58 -04:00
feat!: upgrade webpack to 5 and add TS support
Breaking flag is because it may have some differences in the way the library is exported - `module.exports = ` vs `module.exports.default = `. That would depend on the Webpack config, so it should continue working, but just to be safe.
This commit is contained in:
parent
f4e7e908f5
commit
3d0b429526
30 changed files with 4507 additions and 5190 deletions
test/unit
|
@ -2,7 +2,7 @@ const TextDecoder = require('util').TextDecoder;
|
|||
|
||||
jest.mock('cross-fetch');
|
||||
const mockFetch = require('cross-fetch');
|
||||
const FetchTool = require('../../src/FetchTool.js');
|
||||
const {FetchTool} = require('../../src/FetchTool');
|
||||
|
||||
test('send success returns response.text()', async () => {
|
||||
const tool = new FetchTool();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue