change: cve.js for new data structure #4365
ci-js.yml
on: pull_request
Matrix: Upload coverage
Matrix: Linting
Matrix: Run tests
Annotations
8 errors and 4 warnings
src/gmp/models/__tests__/cve.js > CVE model tests > should parse vulnerable products:
src/gmp/models/__tests__/cve.js#L144
AssertionError: expected [] to deeply equal [ 'foo:bar/dolor', 'ipsum:lorem' ]
- Expected
+ Received
- Array [
- "foo:bar/dolor",
- "ipsum:lorem",
- ]
+ Array []
❯ src/gmp/models/__tests__/cve.js:144:26
|
src/gmp/models/__tests__/cve.js > CVE model tests > should parse cvss source:
src/gmp/models/__tests__/cve.js#L213
AssertionError: expected undefined to deeply equal 'prot://url'
- Expected:
"prot://url"
+ Received:
undefined
❯ src/gmp/models/__tests__/cve.js:213:24
|
src/gmp/models/__tests__/cve.js > CVE model tests > should parse summary:
src/gmp/models/__tests__/cve.js#L228
AssertionError: expected undefined to deeply equal 'lorem ipsum'
- Expected:
"lorem ipsum"
+ Received:
undefined
❯ src/gmp/models/__tests__/cve.js:228:29
|
src/gmp/models/__tests__/cve.js > CVE model tests > should delete raw data:
src/gmp/models/__tests__/cve.js#L259
AssertionError: expected { entry: { …(2) } } to be undefined
- Expected:
undefined
+ Received:
Object {
"entry": Object {
"last-modified-datetime": Object {
"__text": "2018-10-10T11:41:23.022Z",
},
"published-datetime": Object {
"__text": "2018-10-10T11:41:23.022Z",
},
},
}
❯ src/gmp/models/__tests__/cve.js:259:26
|
Run tests (20)
Process completed with exit code 1.
|
Run tests (18)
The job was canceled because "_20" failed.
|
Run tests (18)
The operation was canceled.
|
Upload coverage (18)
Process completed with exit code 1.
|
Linting (20)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Linting (18)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run tests (20)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Upload coverage (18)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
linting-report-18
|
204 Bytes |
|
linting-report-20
|
204 Bytes |
|