Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Converted Q Unit tests to Mocha Tests #1301

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ intermediate
publish
.idea
nbproject/private
.nyc_output
coverage

# build script local files
build/buildinfo.properties
Expand Down
11 changes: 11 additions & 0 deletions .mocharc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"extension": ["js"],
"spec": "tests/unit/**/*.test.js",
"timeout": 5000,
"recursive": true,
"exit": true,
"require": [
"@babel/register",
"./tests/unit/setup.js"
]
}
20 changes: 20 additions & 0 deletions .nycrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"all": true,
"include": [
"src/**/*.js"
],
"exclude": [
"**/*.test.js",
"tests/**",
"node_modules/**"
],
"reporter": [
"text",
"lcov"
],
"check-coverage": true,
"branches": 70,
"lines": 70,
"functions": 70,
"statements": 70
}
Loading
Loading