Skip to content
Snippets Groups Projects
Commit d33841e6 authored by Yuriy Maksymets's avatar Yuriy Maksymets
Browse files

Testing stage in pipeline

parent cc50d1ce
No related branches found
No related tags found
No related merge requests found
......@@ -6,8 +6,14 @@ before_script:
stages:
- build
- test
backend_build:
stage: build
script:
- npm build
backend_test:
stage: test
script:
- npm test
......@@ -7,3 +7,7 @@ describe("number adding", () => {
})
})
})
describe("server", () => {
it("should work", () => {})
})
......@@ -6,7 +6,9 @@
"scripts": {
"build": "webpack src/app.js -o public/js/app.js",
"start": "http-server -c-1 -p 12345 public",
"test": "jest"
"test": "jest",
"test-changed": "jest --only-changed",
"test-coverage": "jest --coverage"
},
"dependencies": {
"http-server": "^0.11.1",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment