Fix coverage

This commit is contained in:
Sidharth Vinod
2022-09-16 18:09:24 +05:30
parent 2f41013740
commit 2693c9b024
9 changed files with 370 additions and 74 deletions

View File

@@ -5,8 +5,7 @@ module.exports = {
testEnvironment: 'jsdom',
preset: 'ts-jest',
transform: {
'^.+\\.tsx?$': ['jest-esbuild', { banner: '"use strict";' }],
'^.+\\.jsx?$': ['jest-esbuild', { banner: '"use strict";' }],
'^.+\\.[jt]sx?$': 'esbuild-jest',
'^.+\\.jison$': [
path.resolve(__dirname, './src/jison/transformer.js'),
{ 'token-stack': true },