Make it possible to run the test

This commit is contained in:
Ali Al Dallal 2014-09-30 14:47:13 -04:00
parent 44b32b849d
commit a37f262f41
2 changed files with 6 additions and 3 deletions

View File

@ -97,7 +97,7 @@ module.exports = function(grunt) {
files: ['package.json', 'bower.json'],
commit: true,
commitMessage: 'v%VERSION%',
commitFiles: ['package.json', 'bower.json', './dist/filer.js', './dist/filer.min.js'],
commitFiles: ['package.json', 'bower.json', './dist/filer.js', './dist/filer.min.js', './dist/filer-test.js'],
createTag: true,
tagName: 'v%VERSION%',
tagMessage: 'v%VERSION%',

View File

@ -3,8 +3,11 @@
<meta charset="utf-8">
<title>Mocha Tests</title>
<link rel="stylesheet" href="../node_modules/mocha/mocha.css" />
<script src="../node_modules/chai/chai.js"></script>
<script src="../node_modules/mocha/mocha.js"></script>
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/mocha/1.21.4/mocha.css" />
<script src="//cdnjs.cloudflare.com/ajax/libs/mocha/1.21.4/mocha.js"></script>
<script>window.mocha || document.write('<script src="../node_modules/mocha/mocha.js"><\/script>')</script>
<script src="//cdnjs.cloudflare.com/ajax/libs/chai/1.9.2/chai.min.js"></script>
<script>window.chai || document.write('<script src="../node_modules/chai/chai.js"><\/script>')</script>
<script>
mocha.setup('bdd').timeout(5000).slow(250);;