Commit e10e8ce2 authored by Christopher Wiedey's avatar Christopher Wiedey
Browse files

Merge branch '4-hoehere-testabdeckung' into 'master'

Resolve "Höhere Testabdeckung"

Closes #4

See merge request !9
parents 45a4cc41 6476a891
Pipeline #100019 passed with stages
in 1 minute and 47 seconds
{
"name": "@c_wied05/ci-test",
"version": "1.0.2",
"version": "1.0.5",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@c_wied05/ci-test",
"version": "1.0.2",
"version": "1.0.5",
"license": "MIT",
"dependencies": {
"faker": "^1.0.0",
"jest-junit": "^12.2.0"
},
"devDependencies": {
......@@ -3907,11 +3906,6 @@
"node": ">=0.10.0"
}
},
"node_modules/faker": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/faker/-/faker-1.0.0.tgz",
"integrity": "sha1-yFFtZPwPDwesxCFSAuWtOQjVJXg="
},
"node_modules/fast-json-stable-stringify": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz",
......@@ -13685,11 +13679,6 @@
}
}
},
"faker": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/faker/-/faker-1.0.0.tgz",
"integrity": "sha1-yFFtZPwPDwesxCFSAuWtOQjVJXg="
},
"fast-json-stable-stringify": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz",
......
{
"name": "@c_wied05/ci-test",
"version": "1.0.4",
"version": "1.0.5",
"description": "Project for showing GitLab CI/CD Integrations",
"main": "index.js",
"scripts": {
......@@ -21,12 +21,21 @@
"@c_wied05:registry": " https://zivgitlab.uni-muenster.de/api/v4/projects/3782/packages/npm/"
},
"dependencies": {
"faker": "^1.0.0",
"jest-junit": "^12.2.0"
},
"jest": {
"collectCoverageFrom": ["libs/**/*.js", "!**/node_modules/**"],
"coverageReporters": ["html", "text", "text-summary", "cobertura"],
"testMatch": ["**/*.test.js"]
"collectCoverageFrom": [
"libs/**/*.js",
"!**/node_modules/**"
],
"coverageReporters": [
"html",
"text",
"text-summary",
"cobertura"
],
"testMatch": [
"**/*.test.js"
]
}
}
......@@ -15,4 +15,10 @@ test('bar multiplies by 3', () => {
test('fizz multiplies by 4', () => {
expect(app.fizz(5)).toBe(20)
expect(app.fizz(-5)).toBe(-20)
})
\ No newline at end of file
})
test('buzz multiplies by 4', () => {
expect(app.buzz(5)).toBe(25)
expect(app.buzz(-5)).toBe(-25)
})
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment