Skip to content

Commit

Permalink
test(core): add new source examples
Browse files Browse the repository at this point in the history
  • Loading branch information
gchoqueux committed Aug 23, 2018
1 parent 90d2dbb commit c7fd059
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
14 changes: 14 additions & 0 deletions test/examples/globe_geojson_to3D.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/* global browser, itownsPort */
const assert = require('assert');

describe('globe geojson to3D', () => {
it('should run', async function _() {
const page = await browser.newPage();
const result = await loadExample(page,
`http://localhost:${itownsPort}/examples/globe_geojson_to3D.html`,
this.test.fullTitle());

assert.ok(result);
await page.close();
});
});
14 changes: 14 additions & 0 deletions test/examples/globe_wfs_color.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/* global browser, itownsPort */
const assert = require('assert');

describe('globe_wfs_color', () => {
it('should run', async function _() {
const page = await browser.newPage();
const result = await loadExample(page,
`http://localhost:${itownsPort}/examples/globe_wfs_color.html`,
this.test.fullTitle());

assert.ok(result);
await page.close();
});
});

0 comments on commit c7fd059

Please sign in to comment.