Comments (3)
oh no, now it's in the terminal
from ember-template-lint.
Our unit tests have to be run with npm run test:jest
to avoid those errors. This is following the instructions of https://jestjs.io/docs/ecmascript-modules for ESM support.
It looks like the VSCode extension can be instructed to use that command with an option: https://marketplace.visualstudio.com/items?itemName=Orta.vscode-jest#jestcommandline
We migrated from Mocha to Jest years ago:
We have a lot of tests and use a lot of Jest features like various assertions, snapshot testing, and test coverage enforcement. So it's probably not worth the effort to try to migrate to something else.
Hopefully Jest will streamline ESM support so things work better by default, if they haven't already.
from ember-template-lint.
Vitest supports jest's API and has those features and more tho
from ember-template-lint.
Related Issues (20)
- allow no-invalid-link-text to be configured for custom link component names
- Drop Recommended Rules for Deprecated Ember 3.x Features HOT 4
- New rule: no-jsx-attributes
- New rule: No chaining `this` to itself HOT 2
- [no-action-on-submit-button] Do not handle `<form method="dialog">`
- Autofix of block-indentation crash
- require-input-label false positive HOT 3
- Revamped gjs/gts support HOT 2
- [gjs]: no-unknown-arguments-for-builtin-components incorrectly assumes an `<Input>` is the ember `<Input>`
- [gjs]: require-input-label incorrectly assumes an `<Input>` is the ember `<Input>`
- no-black-params-for-html-elements failes with dot-separated angle bracket invocation
- Plan v7 Release
- overrides do not apply to gts
- Running `--fix` when enabling `attribute-order` rule hangs process HOT 1
- Bug: autofix of `attribute-order` removes empty string attribute/argument values HOT 1
- Contradictions from no-potential-path-strings and no-unnecessary-curly-strings HOT 1
- More complex `no-invalid-interactive` checking
- New rule: Disallow empty attributes
- [require-mandatory-role-attributes] False-positive for `<Input @type="checkbox" role="switch" />`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ember-template-lint.