0.1.2 • Published 4 years ago

test-hmr v0.1.2

Weekly downloads
133
License
ISC
Repository
-
Last release
4 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

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago

0.3.0-0

4 years ago

0.2.4

4 years ago

0.2.3

4 years ago

0.2.2

4 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.0-6

5 years ago

0.1.0-5

5 years ago

0.1.0-4

6 years ago

0.1.0-3

6 years ago

0.1.0-1

6 years ago

0.1.0-0

6 years ago

0.1.0-2

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.3-0

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago

0.0.1-0

6 years ago