File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- import '../../../build/esm/plugins/all.js' ;
2-
3- import { Jodit } from '../../../build/esm/index.js' ;
1+ import 'base/build/esm/plugins/all.js' ;
42
3+ import { Jodit } from 'base/build/esm/index.js' ;
54import { expect } from 'chai' ;
65
76describe ( 'ESM build' , ( ) => {
Original file line number Diff line number Diff line change @@ -166,9 +166,14 @@ module.exports = function (cnf: Config): void {
166166 ] ,
167167
168168 preprocessors : { './**/*.test.esm.js' : [ 'esbuild' ] } ,
169+ // @ts -expect-error karma-esbuild does not have types
170+ esbuild : {
171+ alias : {
172+ base : argv . cwd
173+ }
174+ } ,
169175
170176 proxies : {
171- '/build/esm/plugins/all.js' : '/base/build/esm/plugins/all.js' ,
172177 '/app.css' : '/base/public/app.css' ,
173178 '/public/app.css' : '/base/public/app.css' ,
174179 '/tests/artio.jpg' : '/base/test/tests/artio.jpg' ,
You can’t perform that action at this time.
0 commit comments