Skip to content

Commit

Permalink
Add basic test setup
Browse files Browse the repository at this point in the history
  • Loading branch information
Henrik Raitasola committed Jan 16, 2017
1 parent b087c0b commit 3a2238a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Render an SVG Image from an URL",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "./node_modules/mocha/bin/mocha --compilers js:babel-core/register"
},
"repository": {
"type": "git",
Expand All @@ -26,5 +26,9 @@
"bugs": {
"url": "https://github.com/matiascba/react-native-svg-uri/issues"
},
"homepage": "https://github.com/matiascba/react-native-svg-uri#readme"
"homepage": "https://github.com/matiascba/react-native-svg-uri#readme",
"devDependencies": {
"chai": "^3.5.0",
"mocha": "^3.2.0"
}
}

0 comments on commit 3a2238a

Please sign in to comment.