Use node modules in test

This commit is contained in:
Bartek Fabiszewski 2019-12-22 20:31:59 +01:00
parent 5a3d0a802c
commit 8f2d673950
3 changed files with 1 additions and 10 deletions

View File

@ -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

View File

@ -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: [],