3.2.1 • Published 2 months ago

@inrupt/jest-jsdom-polyfills v3.2.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

@inrupt/jest-jsdom-polyfills

This package contains polyfills for Web APIs that we use from the Inrupt SDKs that don't currently exist in jsdom which is used by Jest.

Installation

  1. npm install --save-dev @inrupt/jest-jsdom-polyfills

Usage:

Add the following line to your Jest Test Setup file, usually you'll have this configured as jest.setup.ts or something similar.

import "@inrupt/jest-jsdom-polyfills"

Done, the SDKs should now have everything they need to be tested via jest / jsdom.

ESM / CJS Compatibility

The Inrupt SDKs currently rely on some modules that require ESM, in order to load those with Jest, you need to opt into using ESM and configure your environment appropriately.

3.2.1

2 months ago

3.2.0

3 months ago

3.1.0

3 months ago

3.0.2

4 months ago

3.0.1

5 months ago

3.0.0

5 months ago

2.6.0

5 months ago

2.3.0

8 months ago

2.1.2

9 months ago

2.2.0

8 months ago

2.1.1

9 months ago

2.5.0

7 months ago

2.4.1

7 months ago

2.4.0

8 months ago

2.1.3

9 months ago

2.0.4

10 months ago

2.1.0

10 months ago

2.0.3

10 months ago

2.0.2

10 months ago

2.0.1

10 months ago

1.8.0

11 months ago

1.7.0

12 months ago

2.0.0

11 months ago

1.6.2

1 year ago

1.6.1

1 year ago

1.6.0

1 year ago

1.5.5

1 year ago

1.5.4

1 year ago

1.5.3

1 year ago

1.5.2

1 year ago

1.4.3

1 year ago

1.4.2

1 year ago

1.4.1

1 year ago

1.4.0

1 year ago

1.3.1

2 years ago

1.3.0

2 years ago

0.0.0

2 years ago