New upstream snapshot.
Debian Janitor
3 years ago
0 | |
engines:
|
1 | |
fixme:
|
2 | |
enabled: true
|
3 | |
|
4 | |
duplication:
|
5 | |
enabled: true
|
6 | |
config:
|
7 | |
languages:
|
8 | |
- javascript
|
9 | |
|
10 | |
eslint:
|
11 | |
enabled: true
|
12 | |
|
13 | |
ratings:
|
14 | |
paths:
|
15 | |
- lib/**
|
16 | |
- test/**
|
0 | |
# http://editorconfig.org
|
1 | |
root = true
|
2 | |
|
3 | |
[*]
|
4 | |
charset = utf-8
|
5 | |
end_of_line = lf
|
6 | |
indent_size = 2
|
7 | |
indent_style = space
|
8 | |
insert_final_newline = true
|
9 | |
trim_trailing_whitespace = true
|
10 | |
|
11 | |
[*.md]
|
12 | |
trim_trailing_whitespace = false
|
0 | |
*.log
|
1 | |
/node_modules
|
2 | |
/.nyc_output
|
0 | |
language: node_js
|
1 | |
|
2 | |
node_js:
|
3 | |
- 4
|
4 | |
- 6
|
5 | |
- 7
|
6 | |
|
7 | |
env:
|
8 | |
- BABEL_ENV=test
|
9 | |
|
10 | |
matrix:
|
11 | |
fast_finish: true
|
12 | |
|
13 | |
cache:
|
14 | |
directories:
|
15 | |
- node_modules
|
16 | |
|
17 | |
before_script:
|
18 | |
- npm prune
|
19 | |
|
20 | |
after_success:
|
21 | |
- npm run coverage
|
22 | |
- npm run codeclimate
|
23 | |
- npm run semantic-release
|
24 | |
|
25 | |
branches:
|
26 | |
except:
|
27 | |
- /^v\d+\.\d+\.\d+$/
|
28 | |
- /^greenkeeper\/.+/
|
|
0 |
node-har-schema (2.0.0+git20181107.1.c01b2e4-1) UNRELEASED; urgency=low
|
|
1 |
|
|
2 |
* New upstream snapshot.
|
|
3 |
|
|
4 |
-- Debian Janitor <janitor@jelmer.uk> Thu, 15 Apr 2021 20:38:49 -0000
|
|
5 |
|
0 | 6 |
node-har-schema (2.0.0-4) unstable; urgency=medium
|
1 | 7 |
|
2 | 8 |
* Team upload
|
46 | 46 |
"codeclimate-test-reporter": "^0.4.0",
|
47 | 47 |
"cz-conventional-changelog": "^1.2.0",
|
48 | 48 |
"echint": "^2.1.0",
|
49 | |
"semantic-release": "^6.3.2",
|
|
49 |
"semantic-release": "^15.0.0",
|
50 | 50 |
"snazzy": "^5.0.0",
|
51 | |
"tap": "^8.0.1"
|
|
51 |
"tap": "^12.0.0"
|
52 | 52 |
}
|
53 | 53 |
}
|
0 | |
'use strict'
|
1 | |
|
2 | |
const schemas = require('../lib')
|
3 | |
const Ajv = require('ajv')
|
4 | |
const tap = require('tap')
|
5 | |
|
6 | |
tap.test('har-schema', (assert) => {
|
7 | |
const ajv = new Ajv()
|
8 | |
const keys = Object.keys(schemas)
|
9 | |
|
10 | |
assert.plan(keys.length * 2)
|
11 | |
|
12 | |
keys.forEach((key) => assert.doesNotThrow(() => ajv.addSchema(schemas[key])))
|
13 | |
keys.forEach((key) => assert.type(ajv.compile(schemas[key]), 'function'))
|
14 | |
})
|