Skip to content

Commit

Permalink
adding chai and mocha testing frameworks via npm
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlin committed Jun 25, 2019
1 parent 3124b03 commit f05a00d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,4 @@ temp
.tmp
dist
.sass-cache
app/bower_components
test/bower_components
package

8 changes: 3 additions & 5 deletions test/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,18 @@
<head>
<meta charset="utf-8">
<title>Mocha Spec Runner</title>
<link rel="stylesheet" href="../bower_components/mocha/mocha.css">
<link rel="stylesheet" href="../node_modules/mocha/mocha.css">
</head>
<body>
<div id="mocha"></div>
<script src="../bower_components/mocha/mocha.js"></script>
<script src="../node_modules/mocha/mocha.js"></script>
<script>mocha.setup('bdd');</script>
<script src="../bower_components/chai/chai.js"></script>
<script src="../node_modules/chai/chai.js"></script>
<script>
var assert = chai.assert;
var expect = chai.expect;
var should = chai.should();
</script>
<!-- bower:js -->
<!-- endbower -->
<!-- include source files here... -->
<!-- include spec files here... -->
<script src="spec/test.js"></script>
Expand Down

0 comments on commit f05a00d

Please sign in to comment.