Skip to content
Snippets Groups Projects
Commit e5cd9531 authored by Cédric Moreau's avatar Cédric Moreau
Browse files

Add Unit Tests

parent 222fb116
No related branches found
No related tags found
No related merge requests found
......@@ -11,3 +11,6 @@ install:
- ps: Install-Product node $env:nodejs_version $env:platform
- node -v
- npm install
test_script:
- npm test
......@@ -23,12 +23,15 @@
"underscore": "1.8.3"
},
"scripts": {
"postinstall": "node \"node_modules/bower/bin/bower\" install --allow-root && node \"node_modules/brunch/bin/brunch\" build && node cesium.js && mv cesium public/ && cp misc/cesium.js public/cesium/config.js"
"postinstall": "node \"node_modules/bower/bin/bower\" install --allow-root && node \"node_modules/brunch/bin/brunch\" build && node cesium.js && mv cesium public/ && cp misc/cesium.js public/cesium/config.js",
"test": "mocha --growl tests/"
},
"devDependencies": {
"adm-zip": "0.4.7",
"mocha": "2.2.5",
"process-nextick-args": "1.0.7",
"request": "2.31.0",
"should": "11.1.0",
"tmp": "0.0.29",
"util-deprecate": "1.0.2"
}
......
const should = require('should');
describe('Some unit test', () => {
it('should pass', () => {
"ABC".should.equal("ABC");
})
});
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment