Fix: Fix fails for some Id's (#4)
fixes #3 * Add tests, and test runner * Add failing test * Add flowconfig * Fix #3: Fails for `en` and videoId `JueUvj6X3DA`
This commit is contained in:
11
package.json
11
package.json
@@ -19,9 +19,12 @@
|
||||
"scripts": {
|
||||
"build": "rm -rf dist && babel src -d dist",
|
||||
"prepublish": "npm run build",
|
||||
"lint": "eslint src"
|
||||
"lint": "eslint src",
|
||||
"test": "ava",
|
||||
"flow": "flow"
|
||||
},
|
||||
"devDependencies": {
|
||||
"ava": "^0.25.0",
|
||||
"babel-cli": "^6.26.0",
|
||||
"babel-eslint": "^8.0.2",
|
||||
"babel-preset-env": "^1.6.1",
|
||||
@@ -43,5 +46,11 @@
|
||||
"he": "^1.1.1",
|
||||
"lodash": "^4.17.4",
|
||||
"striptags": "^3.1.0"
|
||||
},
|
||||
"ava": {
|
||||
"babel": "inherit",
|
||||
"require": [
|
||||
"babel-register"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user