jest-environment-linkedom
TypeScript icon, indicating that this package has built-in type declarations

29.0.10 • Public • Published

jest-environment-linkedom

jest-environment-linkedom is jest test environment based on linkedom.

Goal

The goal of this plugin is to provide as fast browser like runtime for jest as possible. Unlike jsdom this plugin does not try to provide standards compliant HTML implementation. Instead this plugin focuses on low memory footprint, fast runtime execution and comprehensive mocked HTML APIs where testing can take place by mocking the required methods.

Getting started

npm install --save-dev jest-environment-linkedom

jest.config

export default {
  testEnvironment: "linkedom",
}

Versioning

This package tries to match the major version with jest major version. Always install the same major version of jest and this plugin. First supported Jest version is 29

Readme

Keywords

none

Package Sidebar

Install

npm i jest-environment-linkedom

Weekly Downloads

9

Version

29.0.10

License

MIT

Unpacked Size

31 kB

Total Files

14

Last publish

Collaborators

  • havunen