Lab_interaccio/2024/smartcitizen-kit-21-dev/mock-api/test/test.js

22 lines
523 B
JavaScript
Raw Normal View History

2025-02-25 21:29:42 +01:00
//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
})
})
})