Skip to content

Upgrading jest 0.1 to 12

Breaking0.1.40 → 12.1.1Breaking1New6Changed4Fixed5Other1

BreakingUpgrade verdict

1 breaking change.

  • Code reading module.__filename must switch to module.filename.
1 item needs code or config changes

Node.js requirement changed in 12.1.0-alpha1: >= 0.4.1 → >= 4.

Adds jest-cli ^12.1.0.

Drops sji, underscore.

Installs 219 packages in all (was 2).

Breaking1
Adds module.filename and removes the invalid module.__filename field.
module.filenamemodule.__filename