bigtestjs / mocha Goto Github PK
View Code? Open in Web Editor NEWAll BigTest development has moved to https://github.com/thefrontside/bigtest
Home Page: https://github.com/thefrontside/bigtest
License: MIT License
All BigTest development has moved to https://github.com/thefrontside/bigtest
Home Page: https://github.com/thefrontside/bigtest
License: MIT License
I'm not sure if we have a standardized template. Maybe we can adapt something from x-select? https://github.com/thefrontside/emberx-select/blob/master/.github/ISSUE_TEMPLATE.md
(moved from thefrontside/bigtest#78)
We want to be able to import both of these packages (include sinon & chai) from @bigtest/mocha
:
import { expect, snion } from '@bigtest/mocha'
// ....
The pause
helper on @bigtest/mocha
& in @bigtest/interaction
is really helpful for debugging tests. But when you pause a test with Karma the runner hangs and you need to kill the test server and restart it to rerun any tests.
I'm not sure how we handle this. The first thought is save the resolve method of the never ending promise to a global function so you can resolve it at any time. But this pollutes the global space ๐ค
It is common in a webpack environment when using babel to not transform modules within the node_modules
directory. Our package's "module"
field points directly to the src
files, which are typically compiled with @babel/preset-env
. When babel is configured to not compile our packages within node_modules
, bundles that use our packages can end up broken.
This can be seen in @bigtest/interaction
tests by removing the (!?/@bigtest)
regexp within the babel-loader
exclude option in the karma.config.js
file. This causes the package to fail to properly extend the convergence class and thereby causes every test to fail.
(moved from thefrontside/bigtest#55)
Some parts of the readme are outdated.
it.always
is 200ms
@bigtest/interactor
as an example.We should add a contributing.md file detailing how to get the project setup, how to run tests, & possibly explain how the tests work.
(moved from thefrontside/bigtest#79)
Like the title says, we should be able to import everything from @bigtest/mocha
that you would normally want to import from mocha.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.