fix: running tests and adding tests to CI & CD (#1047)

* fix: running tests and adding tests to CI & CD

* fix: yarn.lock

* fix: alert service

* fix: ts-jest utils import
This commit is contained in:
Karol Sójko
2022-05-24 11:06:17 +02:00
committed by GitHub
parent c6839f776a
commit 2d3221c944
14 changed files with 158 additions and 160 deletions

View File

@@ -16,8 +16,7 @@
"setup": "bundle install && yarn install --frozen-lockfile && bundle exec rails assets:precompile && yarn bundle",
"lint": "eslint --fix app/assets/javascripts",
"tsc": "tsc --project app/assets/javascripts/tsconfig.json",
"test": "jest --config app/assets/javascripts/jest.config.js",
"test:coverage": "yarn test --coverage",
"test": "jest --config app/assets/javascripts/jest.config.js --coverage",
"prepare": "husky install",
"postinstall": "yarn run ncu -loglevel verbose --packageFile package.json",
"upgrade:snjs": "ncu -u '@standardnotes/*' && yarn"
@@ -73,8 +72,9 @@
"@standardnotes/components": "1.8.1",
"@standardnotes/filepicker": "1.16.0",
"@standardnotes/icons": "^1.1.7",
"@standardnotes/services": "^1.13.1",
"@standardnotes/sncrypto-web": "1.10.1",
"@standardnotes/snjs": "2.113.2",
"@standardnotes/snjs": "^2.113.2",
"@standardnotes/stylekit": "5.29.0",
"@zip.js/zip.js": "^2.4.10",
"mobx": "^6.5.0",