UNPKG

@yeutech-lab/test-polyfill

Version:

Configure unit test in jest using this polyfill. It provides fetch and localStorage within your test environment.

89 lines (41 loc) 3.55 kB
## [1.1.5](https://github.com/yeutech-lab/test-polyfill/compare/v1.1.4...v1.1.5) (2019-03-04) ### Bug Fixes * **ncu:** lock whatwg-fetch and install [@rollup-umd](https://github.com/rollup-umd)/ncu ([7c31c29](https://github.com/yeutech-lab/test-polyfill/commit/7c31c29)) ## [1.1.4](https://github.com/yeutech-lab/test-polyfill/compare/v1.1.3...v1.1.4) (2019-02-07) ### Bug Fixes * **dependencies:** switch to [@yeutech-lab](https://github.com/yeutech-lab)/isomorphic-fetch due to https://github.com/matthew-andrews/isomorphic-fetch/issues/181 ([d52071c](https://github.com/yeutech-lab/test-polyfill/commit/d52071c)) * **dependencies:** Using fixed [@yeutech-lab](https://github.com/yeutech-lab)/isomorphic-fetch ([912714b](https://github.com/yeutech-lab/test-polyfill/commit/912714b)) ## [1.1.3](https://github.com/yeutech-lab/test-polyfill/compare/v1.1.2...v1.1.3) (2019-02-07) ### Bug Fixes * **polyfill:** do not reject public suffix ([1eab6c4](https://github.com/yeutech-lab/test-polyfill/commit/1eab6c4)) * **polyfill:** fix localStorage ([46f98e4](https://github.com/yeutech-lab/test-polyfill/commit/46f98e4)) ## [1.1.2](https://github.com/yeutech-lab/test-polyfill/compare/v1.1.1...v1.1.2) (2019-02-07) ### Bug Fixes * **polyfill:** using try catch to determine if browser or node environment ([645cfbe](https://github.com/yeutech-lab/test-polyfill/commit/645cfbe)) ## [1.1.1](https://github.com/yeutech-lab/test-polyfill/compare/v1.1.0...v1.1.1) (2019-02-07) ### Bug Fixes * **fetch:** set version of whatwg-fetch to 2.0.4 ([f866d80](https://github.com/yeutech-lab/test-polyfill/commit/f866d80)) * **polyfill:** fix media polyfill ([beb7107](https://github.com/yeutech-lab/test-polyfill/commit/beb7107)) * **test:** repair test ([d4eee4c](https://github.com/yeutech-lab/test-polyfill/commit/d4eee4c)) # [1.1.0](https://github.com/yeutech-lab/test-polyfill/compare/v1.0.5...v1.1.0) (2019-02-06) ### Features * **media:** added media mock ([721730b](https://github.com/yeutech-lab/test-polyfill/commit/721730b)) ## [1.0.5](https://github.com/yeutech-lab/test-polyfill/compare/v1.0.4...v1.0.5) (2019-01-31) ### Bug Fixes * **documentation:** Improve documentation content ([176bddd](https://github.com/yeutech-lab/test-polyfill/commit/176bddd)) * **documentation:** removing prerequesite and faq ([c97a4ef](https://github.com/yeutech-lab/test-polyfill/commit/c97a4ef)) ## [1.0.4](https://github.com/yeutech-lab/test-polyfill/compare/v1.0.3...v1.0.4) (2019-01-31) ### Bug Fixes * **fetch:** adding whatwg-fetch to import Response, Headers and Request for tests ([3e36429](https://github.com/yeutech-lab/test-polyfill/commit/3e36429)) ## [1.0.3](https://github.com/yeutech-lab/test-polyfill/compare/v1.0.2...v1.0.3) (2019-01-31) ### Bug Fixes * **documentation:** fixing travis build badge ([dc3e172](https://github.com/yeutech-lab/test-polyfill/commit/dc3e172)) ## [1.0.2](https://github.com/yeutech-lab/test-polyfill/compare/v1.0.1...v1.0.2) (2019-01-31) ### Bug Fixes * **polyfill:** Not using default export ([b01190d](https://github.com/yeutech-lab/test-polyfill/commit/b01190d)) ## [1.0.1](https://github.com/yeutech-lab/test-polyfill/compare/v1.0.0...v1.0.1) (2019-01-31) ### Bug Fixes * **release:** GitHub release https://github.com/yeutech-lab/test-polyfill ([2bebd75](https://github.com/yeutech-lab/test-polyfill/commit/2bebd75)) # 1.0.0 (2019-01-31) ### Features * **polyfill:** added polyfill for unit tests ([3229dc2](https://module.kopaxgroup.com/yeutech/test-polyfill/commit/3229dc2))