Browse Source

adding chai as an npm devDependency (#577)

Resolves #576
pull/569/head
Jay L 6 years ago committed by Sergi Almacellas Abellana
parent
commit
edc0469a92
  1. 2
      package.json
  2. 4
      tests/tests.html

2
package.json

@ -36,7 +36,7 @@
"license": "MIT", "license": "MIT",
"main": "papaparse.js", "main": "papaparse.js",
"devDependencies": { "devDependencies": {
"chai": "^4.1.2", "chai": "^4.2.0",
"connect": "^3.3.3", "connect": "^3.3.3",
"eslint": "^4.19.1", "eslint": "^4.19.1",
"grunt": "^1.0.2", "grunt": "^1.0.2",

4
tests/tests.html

@ -5,8 +5,8 @@
<script src="../node_modules/mocha/mocha.js"></script> <script src="../node_modules/mocha/mocha.js"></script>
<link rel="stylesheet" href="../node_modules/mocha/mocha.css" /> <link rel="stylesheet" href="../node_modules/mocha/mocha.css" />
<script src="../papaparse.js"></script> <script src="../papaparse.js"></script>
<script src="http://chaijs.com/chai.js"></script> <script src="../node_modules/chai/chai.js"></script>
<script>mocha.setup('bdd')</script> <script>mocha.setup('bdd')</script>
<script src="test-cases.js"></script> <script src="test-cases.js"></script>

Loading…
Cancel
Save