22 lines
523 B
JavaScript
22 lines
523 B
JavaScript
|
//var assert = require('assert');
|
||
|
//
|
||
|
// Mocha tests, currently not used
|
||
|
// We are using casper.js test, see folder casperjs
|
||
|
|
||
|
describe('Array', function() {
|
||
|
describe('#indexOf()', function() {
|
||
|
it('should return -1 when the value is not present', function() {
|
||
|
assert.equal(-1, [1,2,3].indexOf(4));
|
||
|
});
|
||
|
});
|
||
|
});
|
||
|
|
||
|
|
||
|
describe('Clicking buttons on the web UI', function () {
|
||
|
describe('clicking Online button', function(){
|
||
|
it('should change the content on the page', function(){
|
||
|
// TODO
|
||
|
})
|
||
|
})
|
||
|
})
|