Remove tests
Kyle Mitchell
8 years ago
0 | |
.npmiginore
|
1 | |
.travis.yml
|
0 | |
---
|
1 | |
language: "node_js"
|
2 | |
node_js:
|
3 | |
- "0.10"
|
4 | |
- "0.11"
|
5 | |
- "0.12"
|
6 | |
- "node"
|
7 | |
- "iojs"
|
8 | |
sudo: false
|
0 | |
```javascript
|
1 | |
var assert = require('assert')
|
2 | |
var spdxExceptions = require('spdx-exceptions')
|
3 | |
|
4 | |
assert(Array.isArray(spdxExceptions))
|
5 | |
|
6 | |
assert(spdxExceptions.length > 0)
|
7 | |
|
8 | |
function isString(x) {
|
9 | |
return typeof x === 'string' }
|
10 | |
|
11 | |
assert(spdxExceptions.every(isString))
|
12 | |
```
|
|
0 |
The package exports an array of strings.
|
5 | 5 |
"contributors": [
|
6 | 6 |
"Kyle E. Mitchell <kyle@kemitchell.com> (https://kemitchell.com/)"
|
7 | 7 |
],
|
8 | |
"devDependencies": {
|
9 | |
"defence-cli": "^1.0.1",
|
10 | |
"replace-require-self": "^1.0.0"
|
11 | |
},
|
12 | 8 |
"license": "CC-BY-3.0",
|
13 | |
"repository": "kemitchell/spdx-exceptions.js",
|
14 | |
"scripts": {
|
15 | |
"test": "defence -i javascript README.md | replace-require-self | node"
|
16 | |
}
|
|
9 |
"repository": "kemitchell/spdx-exceptions.js"
|
17 | 10 |
}
|