https://github.com/delphicoder/vanilla-js-modules-with-jest-startup
Vanilla JavaScript skeleton with Jest support for ESM modules.
https://github.com/delphicoder/vanilla-js-modules-with-jest-startup
Last synced: about 1 year ago
JSON representation
Vanilla JavaScript skeleton with Jest support for ESM modules.
- Host: GitHub
- URL: https://github.com/delphicoder/vanilla-js-modules-with-jest-startup
- Owner: DelphiCoder
- License: other
- Created: 2023-12-03T02:16:49.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-03T03:35:34.000Z (over 2 years ago)
- Last Synced: 2025-03-30T19:47:11.569Z (about 1 year ago)
- Language: HTML
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# vanilla-js-modules-with-jest-startup
Vanilla JavaScript skeleton with Jest support for ESM modules.
## Description
This is a simple startup skeleton for a vanilla JavaScript project with **Jest testing that supports ES6 modules (ESM)**.
This skeleton creates an easier way to deal with ESM modules when using Jest for testing within a Vanilla JavaScript Application.
It doesn't use the convoluted hacks or experimental settings such as `--experimental-vm-modules`. **It just works!**
**Note:** No compiler is used here. Just raw JavaScript files. The one Babel library is merely used to help Jest deal with ES6 modules.
Current as of December 2023.