Merge pull request #10100 from overleaf/jk-use-parser-for-spelling-filter

[web] Use syntax tree to filter spelling payload

GitOrigin-RevId: 9901a1bbe99b513188313654055a9dcb57e0f7c4
This commit is contained in:
Alf Eaton 2022-10-31 13:02:16 +00:00 committed by Copybot
parent 79e6fecc4a
commit fc558b3c35

View file

@ -1,6 +1,6 @@
// Run babel on tests to allow support for import/export statements in Node
require('@babel/register')({
extensions: ['.ts', '.tsx', '.js', '.jsx'],
extensions: ['.ts', '.tsx', '.js', '.jsx', '.mjs'],
})
// Load JSDOM to mock the DOM in Node