Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/unlight/mochapack-node-playground
Playing with mochapack
https://github.com/unlight/mochapack-node-playground
instant-mocha mocha mochapack webpack
Last synced: 18 days ago
JSON representation
Playing with mochapack
- Host: GitHub
- URL: https://github.com/unlight/mochapack-node-playground
- Owner: unlight
- Created: 2022-04-30T14:33:12.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-10-12T17:23:12.000Z (3 months ago)
- Last Synced: 2024-11-07T03:07:22.159Z (2 months ago)
- Topics: instant-mocha, mocha, mochapack, webpack
- Language: TypeScript
- Homepage:
- Size: 300 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# mochapack-node-playground
Played with mochapack, but later switched to [instant-mocha](https://github.com/privatenumber/instant-mocha)
## Install
```sh
pnpm i -D instant-mocha mocha webpack webpack-node-externals swc-loader
``````sh
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).