0.1.2 • Published 3 years ago

test-hmr v0.1.2

Weekly downloads
133
License
ISC
Repository
-
Last release
3 years ago

test-hmr

Testbed for Webpack HMR.

Spins Puppeteer + Web Dev Server with a virtual in-memory file system.

Test utils let you pilot the virtual FS, and wait until HMR update has been applied (by detecting the console message: "HMR App is up to date.").

Usage

Create a bootstrap file pointing to the app under test:

// test/bootstrap.js
const { bootstrap } = require('test-hmr')

bootstrap()

Require test-hmr to run your tests:

npx mocha --require test-hmr test
0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago

0.3.0-0

3 years ago

0.2.4

3 years ago

0.2.3

3 years ago

0.2.2

3 years ago

0.2.1

3 years ago

0.2.0

3 years ago

0.1.0-6

4 years ago

0.1.0-5

4 years ago

0.1.0-4

4 years ago

0.1.0-3

4 years ago

0.1.0-1

4 years ago

0.1.0-0

4 years ago

0.1.0-2

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.3-0

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago

0.0.1-0

5 years ago