Chore: use jest without grunt (#28558)

* Chore: use jest without grunt

* Run no-focus-convey-tests and no-only-tests as well

* Update lib.star test-backend script with no-focus test to run first

* Lets see a failing test

* Revert "Lets see a failing test"

This reverts commit cb6c6ed67d.

* Update no-focus-convey test to a script

* Update scripts/lib.star

Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>

* Update drone.yml

Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
This commit is contained in:
Zoltán Bedi
2020-11-09 15:14:04 +01:00
committed by GitHub
co-authored by Arve Knudsen
parent 5bed54170e
commit f22d77100f
5 changed files with 15 additions and 7 deletions
-1
View File
@@ -11,7 +11,6 @@ module.exports = function(config, grunt) {
typecheckRoot: {
command: 'yarn typecheck',
},
jest: 'yarn jest-ci',
webpack: 'node ./node_modules/webpack/bin/webpack.js --config scripts/webpack/webpack.prod.js',
};
};
+3 -1
View File
@@ -441,7 +441,9 @@ def test_backend_step():
'lint-backend',
],
'commands': [
# First execute non-integration tests in parallel, since it should be safe
# First make sure that there are no tests with FocusConvey
'[ $(grep FocusConvey -R pkg | wc -l) -eq "0" ] || exit 1',
# Then execute non-integration tests in parallel, since it should be safe
'./bin/grabpl test-backend',
# Then execute integration tests in serial
'./bin/grabpl integration-tests',