/mochapack-node-playground

Playing with mochapack

Primary LanguageTypeScript

mochapack-node-playground

Played with mochapack, but later switched to instant-mocha

Install

pnpm i -D instant-mocha mocha webpack webpack-node-externals swc-loader
npm run test:r
npm run test:w

Issues

  • swc module.noInterop: true should remove __esModule and make assertion showing correct line number

  • restart in monorepo? Yes. With help of workspace-alias it possible to change source code of workspace lib (it will be included in bundle).