Use node modules in test
This commit is contained in:
parent
5a3d0a802c
commit
8f2d673950
@ -17,8 +17,7 @@
|
|||||||
* along with this program; if not, see <http://www.gnu.org/licenses/>.
|
* along with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* global ol */
|
import * as ol from '../src/lib/ol.js';
|
||||||
|
|
||||||
import OpenlayersApi from '../src/mapapi/api_openlayers.js';
|
import OpenlayersApi from '../src/mapapi/api_openlayers.js';
|
||||||
import TrackFactory from './helpers/trackfactory.js';
|
import TrackFactory from './helpers/trackfactory.js';
|
||||||
import { config } from '../src/initializer.js'
|
import { config } from '../src/initializer.js'
|
||||||
|
File diff suppressed because one or more lines are too long
@ -18,7 +18,6 @@ module.exports = function(config) {
|
|||||||
{ pattern: 'test/*.test.js', type: 'module' },
|
{ pattern: 'test/*.test.js', type: 'module' },
|
||||||
{ pattern: 'test/*.stub.js', type: 'module', included: false },
|
{ pattern: 'test/*.stub.js', type: 'module', included: false },
|
||||||
{ pattern: 'test/helpers/*.js', type: 'module', included: false },
|
{ pattern: 'test/helpers/*.js', type: 'module', included: false },
|
||||||
{ pattern: 'test/openlayers.bundle.js', type: 'js', included: true },
|
|
||||||
{ pattern: 'src/**/*.js', type: 'module', included: false }
|
{ pattern: 'src/**/*.js', type: 'module', included: false }
|
||||||
],
|
],
|
||||||
exclude: [],
|
exclude: [],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user