Lab_interaccio/2023/smartcitizen-kit-21/mock-api/test/test.js
2025-02-25 21:29:42 +01:00

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
})
})
})