From dfe6a4514d1cf6380b69f450303ba620a73aaa1a Mon Sep 17 00:00:00 2001 From: Bartek Fabiszewski Date: Wed, 8 Jan 2020 21:07:27 +0100 Subject: [PATCH] Move gmaps stub to helpers folder --- js/test/api_gmaps.test.js | 2 +- js/test/{ => helpers}/googlemaps.stub.js | 0 karma.conf.js | 1 - 3 files changed, 1 insertion(+), 2 deletions(-) rename js/test/{ => helpers}/googlemaps.stub.js (100%) diff --git a/js/test/api_gmaps.test.js b/js/test/api_gmaps.test.js index 1506982..654a11f 100644 --- a/js/test/api_gmaps.test.js +++ b/js/test/api_gmaps.test.js @@ -17,7 +17,7 @@ * along with this program; if not, see . */ -import * as gmStub from './googlemaps.stub.js'; +import * as gmStub from './helpers/googlemaps.stub.js'; import { config, lang } from '../src/initializer.js' import GoogleMapsApi from '../src/mapapi/api_gmaps.js'; import TrackFactory from './helpers/trackfactory.js'; diff --git a/js/test/googlemaps.stub.js b/js/test/helpers/googlemaps.stub.js similarity index 100% rename from js/test/googlemaps.stub.js rename to js/test/helpers/googlemaps.stub.js diff --git a/karma.conf.js b/karma.conf.js index a368a0c..fed5c01 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -16,7 +16,6 @@ module.exports = function(config) { frameworks: [ 'jasmine' ], files: [ { pattern: 'test/*.test.js', type: 'module' }, - { pattern: 'test/*.stub.js', type: 'module', included: false }, { pattern: 'test/helpers/*.js', type: 'module', included: false }, { pattern: 'test/fixtures/*.html', included: false }, { pattern: 'src/**/*.js', type: 'module', included: false }