analyse-parrainages/test/elu-data-scraper.test.js

18 lines
497 B
JavaScript
Raw Normal View History

'use strict';
const path = require('path');
const Promise = require('bluebird');
const assert = require('assert');
const app = require(path.resolve(__dirname, '../server/server'));
describe('EluDataScraper', function(){
describe('#getDataForElu', function(){
it('Test 1', function(){
return app.models.EluDataScraper.getDataForElu({ circonscription: 'trignac', firstname: 'david', lastname: 'pelon'})
.then(function(data){
console.log(data);
})
});
});
});