Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
public
/
sequelize
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
不要怂,就是干,撸起袖子干!
Commit aaf32349
authored
Jun 24, 2021
by
Pedro Augusto de Paula Barbosa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
meta: refactor mocha configuration
1 parent
20cd5d7e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
4 deletions
.mocharc.jsonc
package.json
.mocharc.jsonc
0 → 100644
View file @
aaf3234
{
"exit": true,
"check-leaks": true,
"timeout": 30000,
"reporter": "spec"
}
package.json
View file @
aaf3234
...
@@ -180,14 +180,14 @@
...
@@ -180,14 +180,14 @@
"----------------------------------------- documentation -------------------------------------------"
:
""
,
"----------------------------------------- documentation -------------------------------------------"
:
""
,
"docs"
:
"rimraf esdoc && esdoc -c docs/esdoc-config.js && cp docs/favicon.ico esdoc/favicon.ico && cp docs/ROUTER.txt esdoc/ROUTER && node docs/run-docs-transforms.js && node docs/redirects/create-redirects.js && rimraf esdoc/file esdoc/source.html"
,
"docs"
:
"rimraf esdoc && esdoc -c docs/esdoc-config.js && cp docs/favicon.ico esdoc/favicon.ico && cp docs/ROUTER.txt esdoc/ROUTER && node docs/run-docs-transforms.js && node docs/redirects/create-redirects.js && rimraf esdoc/file esdoc/source.html"
,
"----------------------------------------- tests ---------------------------------------------------"
:
""
,
"----------------------------------------- tests ---------------------------------------------------"
:
""
,
"test-unit"
:
"mocha
--exit --check-leaks --colors -t 30000 --reporter spec
\"
test/unit/**/*.test.js
\"
"
,
"test-unit"
:
"mocha
\"
test/unit/**/*.test.js
\"
"
,
"test-integration"
:
"mocha
--exit --check-leaks --colors -t 30000 --reporter spec
\"
test/integration/**/*.test.js
\"
"
,
"test-integration"
:
"mocha
\"
test/integration/**/*.test.js
\"
"
,
"teaser"
:
"node test/teaser.js"
,
"teaser"
:
"node test/teaser.js"
,
"test"
:
"npm run teaser && npm run test-unit && npm run test-integration"
,
"test"
:
"npm run teaser && npm run test-unit && npm run test-integration"
,
"----------------------------------------- coverage ------------------------------------------------"
:
""
,
"----------------------------------------- coverage ------------------------------------------------"
:
""
,
"cover"
:
"rimraf coverage && npm run teaser && npm run cover-integration && npm run cover-unit && npm run merge-coverage"
,
"cover"
:
"rimraf coverage && npm run teaser && npm run cover-integration && npm run cover-unit && npm run merge-coverage"
,
"cover-integration"
:
"cross-env COVERAGE=true nyc --reporter=lcovonly mocha
-t 30000 --exit
\"
test/integration/**/*.test.js
\"
&& node -e
\"
require('fs').renameSync('coverage/lcov.info', 'coverage/integration.info')
\"
"
,
"cover-integration"
:
"cross-env COVERAGE=true nyc --reporter=lcovonly mocha
\"
test/integration/**/*.test.js
\"
&& node -e
\"
require('fs').renameSync('coverage/lcov.info', 'coverage/integration.info')
\"
"
,
"cover-unit"
:
"cross-env COVERAGE=true nyc --reporter=lcovonly mocha
-t 30000 --exit
\"
test/unit/**/*.test.js
\"
&& node -e
\"
require('fs').renameSync('coverage/lcov.info', 'coverage/unit.info')
\"
"
,
"cover-unit"
:
"cross-env COVERAGE=true nyc --reporter=lcovonly mocha
\"
test/unit/**/*.test.js
\"
&& node -e
\"
require('fs').renameSync('coverage/lcov.info', 'coverage/unit.info')
\"
"
,
"merge-coverage"
:
"lcov-result-merger
\"
coverage/*.info
\"
\"
coverage/lcov.info
\"
"
,
"merge-coverage"
:
"lcov-result-merger
\"
coverage/*.info
\"
\"
coverage/lcov.info
\"
"
,
"----------------------------------------- local test dbs ------------------------------------------"
:
""
,
"----------------------------------------- local test dbs ------------------------------------------"
:
""
,
"start-mariadb"
:
"bash dev/mariadb/10.3/start.sh"
,
"start-mariadb"
:
"bash dev/mariadb/10.3/start.sh"
,
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment