jest-preview

Debug your Jest tests. Effortlessly.๐Ÿ› ๐Ÿ–ผ

MIT License

Downloads
548.2K
Stars
2.3K
Committers
26

Bot releases are hidden (Show)

jest-preview - v0.3.1: Support Less CSS Latest Release

Published by nvh95 about 2 years ago

What's Changed

Full Changelog: https://github.com/nvh95/jest-preview/compare/v0.3.0...v0.3.1

jest-preview - v0.3.0: SEOUL

Published by nvh95 about 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/nvh95/jest-preview/compare/v0.2.8...v0.3.0

jest-preview - v0.2.8: Chokidar issue on Linux

Published by nvh95 over 2 years ago

What's Changed

Full Changelog: https://github.com/nvh95/jest-preview/compare/v0.2.7...v0.2.8

jest-preview - v0.2.7: One file transformation to rule them all

Published by nvh95 over 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/nvh95/jest-preview/compare/v0.2.6...v0.2.7

jest-preview - v0.2.6: London

Published by nvh95 over 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/nvh95/jest-preview/compare/v0.2.5...0.2.6

jest-preview - v0.2.5: React Summit Amsterdam 2022

Published by nvh95 over 2 years ago

What's Changed

Full Changelog: https://github.com/nvh95/jest-preview/compare/v0.2.4...v0.2.5

jest-preview - v0.2.4: AMSTERDAM

Published by nvh95 over 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/nvh95/jest-preview/compare/v0.2.3...v0.2.4

jest-preview - v0.2.3: Fix some bugs in Windows

Published by nvh95 over 2 years ago

What's Changed

Full Changelog: https://github.com/nvh95/jest-preview/compare/v0.2.2...v0.2.3

jest-preview - v0.2.2: Support Jest 28

Published by nvh95 over 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/nvh95/jest-preview/compare/v0.2.1...v0.2.2

jest-preview - v0.2.1: Hello Create React App and Emotion!

Published by nvh95 over 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/nvh95/jest-preview/compare/v0.2.0...v0.2.1

jest-preview - v0.2.0: The Game Changer

Published by nvh95 over 2 years ago

What's Changed

Full Changelog: https://github.com/nvh95/jest-preview/compare/v0.1.7...v0.2.0

jest-preview - v0.1.7

Published by nvh95 over 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/nvh95/jest-preview/compare/v0.1.6...v0.1.7

jest-preview - v0.1.6: thank you, next.js

Published by nvh95 over 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/nvh95/jest-preview/compare/v0.1.5...v0.1.6

jest-preview - v0.1.5: Saas Wars, Dart Vader, I'm your father

Published by nvh95 over 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/nvh95/jest-preview/compare/v0.1.4...v0.1.5

jest-preview - v0.1.4: Cache Invalidation is hard. Really hard!

Published by nvh95 over 2 years ago

Fixes

  • Fix: jest --clearCache might break user's installation flow since jest might be installed after jest-preview.

Features

  • Support serving files from Public folder.
  • Clear Jest cache after installation.

Fixes

  • Update rollup to:
    • Terser
    • Transpile to ES2019 (e.g: optional chaining)

Chores

  • Export debug as named also.
jest-preview - v0.1.2: DCY - Don't Config Yourself

Published by nvh95 over 2 years ago

Features

  • Add pre-configured transformers, so users can integrate jest-preview to their projects easier.
    • jest-preview/transforms/css
    • jest-preview/transforms/file
    • jest-preview/transforms/fileCRA
jest-preview - v0.1.1: Brace yourself! CSS Modules is coming to town!

Published by nvh95 over 2 years ago

Features

  • Support CSS Modules #40
    • Caveat: Support CSS Modules for CRA in the next version.
jest-preview - v0.1.0: Hooray, API changed: `preview.debug()`

Published by nvh95 over 2 years ago

Features

  • [BREAKING CHANGES] Simplify usage of the core function of jest-preview: preview(htmlElement) to preview.debug().
  • Users do not need to pass any argument to preview.debug(), the default is document.body which is the whole page (how authors expect users to use jest-preview).
  • Add title and favicon.ico for Dashboard

Fixes

  • Fix externalCss get cached
jest-preview - v0.0.3: Do not repeat yourself! + CRA, you are special!

Published by nvh95 over 2 years ago

Features

  • Rewrite transforms. Do not need to copy assets to cache folder.
  • Add processFileCRA for CRA file transform.
  • [BREAKING CHANGES for CRA users] CRA users need to update fileTransform.js to use processFileCRA. See more at CRA README.md

Chores

  • Simplify the usage in docs and examples: preview(render(<App />).container) => preview(document.body).