haversine-geolocation
Version:
Get distances between two points or get closest position to current point. Based on the Haversine Formula
35 lines (33 loc) • 760 B
JavaScript
module.exports = function (config) {
const configuration = {
basePath: '',
frameworks: ['jasmine'],
files: ['./spec/*.spec.ts'],
exclude: [],
preprocessors: {
"./spec/*.spec.ts": ["webpack"]
},
webpack: require("./webpack.config.js"),
webpackMiddleware: {
stats: "errors-only"
},
reporters: ['progress'],
port: 9876,
colors: true,
logLevel: config.LOG_INFO,
autoWatch: false,
browsers: ['Chrome'],
customLaunchers: {
Chrome_travis_ci: {
base: 'Chrome',
flags: ['--no-sandbox']
}
},
singleRun: false,
concurrency: Infinity
}
if (process.env.TRAVIS) {
configuration.browsers = ['Chrome_travis_ci'];
}
config.set(configuration);
};