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

Jest #54

Open
wants to merge 11 commits into
base: dev
Choose a base branch
from
Open

Jest #54

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
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,6 @@ jspm_packages
.DS_Store
.idea
/public
/test/.nohost/
test/app/assets/.nohost/properties
test/app/assets/.nohost/.backup/properties
270 changes: 126 additions & 144 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"start": "node bin/nohost run",
"docs:dev": "vuepress dev docs",
"docs:build": "vuepress build docs",
"test": "jest --config=./test/jest/jest.config.js --coverage",
"test": "jest --config=./test/jest/jest.config.js --coverage --detectOpenHandles --forceExit",
"test:watch": "jest --config=./test/jest/jest.config.js --watchAll --coverage"
},
"registry": "https://registry.npmjs.org/@nohost/server",
Expand All @@ -43,6 +43,7 @@
"antd": "^3.25.3",
"babel-core": "^6.25.0",
"babel-eslint": "^10.0.3",
"babel-jest": "^26.6.3",
"babel-loader": "^7.1.1",
"babel-plugin-import": "^1.2.1",
"babel-plugin-transform-class-properties": "^6.24.1",
Expand Down
2 changes: 1 addition & 1 deletion test/.nohost/.backup/properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"filesOrder":[],"domain":"abc.com","latestVersion":"0.5.34","admin":{"username":"admin","password":"60149a289a3623cd214943af2892e103f4bddafb"}}
{"filesOrder":[],"domain":"","admin":{"username":"admin","password":"7c4a8d09ca3762af61e59520943dc26494f8941b"},"latestVersion":"0.6.5"}
2 changes: 1 addition & 1 deletion test/.nohost/properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"filesOrder":[],"domain":"abc.com","latestVersion":"0.5.34","admin":{"username":"admin","password":"60149a289a3623cd214943af2892e103f4bddafb"}}
{"filesOrder":[],"domain":"","admin":{"username":"admin","password":"7c4a8d09ca3762af61e59520943dc26494f8941b"},"latestVersion":"0.6.5"}
1 change: 1 addition & 0 deletions test/app/assets/.nohost/.backup/properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"filesOrder":[],"domain":"abc.com","admin":{"username":"admin","password":"60149a289a3623cd214943af2892e103f4bddafb"},"latestVersion":"0.6.5"}
Loading