alasql
Version:
AlaSQL.js - JavaScript SQL database library for relational and graph data manipulation with support of localStorage, IndexedDB, and Excel
23 lines (21 loc) • 470 B
JavaScript
if(typeof exports == 'object') {
var alasql = require('../alasql.js');
}
function a(filename) {
it(filename,function(done){
alasql('SOURCE "sakila/'+filename+'"');
done();
});
};
describe('Sakila database',function(){
it('Schema',function(done){
this.timeout(10000);
alasql('SOURCE "sakila/sakila-spatial-schema.sql"');
done();
});
it('Data',function(done){
this.timeout(10000);
alasql('SOURCE "sakila/sakila-spatial-data.sql"');
done();
});
});