Comments (4)
I'm converting all my browser tests to mocha and I need a good assert lib. Were you just planning on porting https://github.com/joyent/node/blob/master/lib/assert.js to browser? or using something like browserify to dynamically load it?
from mocha.
i just mean for mocha specifically
from mocha.
check out https://github.com/logicalparadox/chai
from mocha.
gotcha, I'll check out chai. Thanks
from mocha.
Related Issues (20)
- 🚀 Feature: Add support for additional runtimes like Bun and Deno HOT 1
- 🐛 Bug: Bump serialize-javascript from 6.0.0 to 6.0.2 HOT 1
- 🚀 Feature: Allow passing in a "target object" for the JSON reporter HOT 1
- 🚀 Feature: Add file path to xunit reporter
- 🚀 Feature: Switch from <canvas> to native <progress> element in browser reporter
- 📦 Package: Switch dependency versions to ^ ranges HOT 1
- 🐛 Bug: Eleventy template builds crash with 'unexpected token at ": string, msg..."' HOT 1
- 🐛 Bug: mocha does not compatible with node.js test runner HOT 1
- 📝 Docs: Remove Matomo from the website HOT 1
- 🐛 Bug: Failed to run tests with a large tests count HOT 1
- 🛠 Repo: Tests broken on main for xunit after conflicting merge
- 🛠 Repo: Remove `husky` for now HOT 1
- 🛠 Repo: Replace `nps` with ordinary npm scripts
- 🐛 Bug: Audit and fix accessibility for browser reporter
- 🚀 Feature: Unify `--ignore` and `--watch-ignore` and make the patterns recursive
- 🐛 Bug: Unit test cases taking too much time to execute HOT 1
- 🐛 Bug: <short description of the bug>
- `skip` shows "pending" instead of "skipped"
- 🐛 Bug: Test titles not shown for ES dynamic imports
- 🐛 Bug: mocha fails silently on invalid `package.json` section
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 mocha.