0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00

tests/browsers.js: remove unneeded export

This commit is contained in:
XhmikosR 2021-10-13 08:42:21 +03:00
parent 2a51370e92
commit 5739bf7637
2 changed files with 3 additions and 10 deletions

View File

@ -74,9 +74,6 @@ const browsers = {
}
}
const browsersKeys = Object.keys(browsers)
module.exports = {
browsers,
browsersKeys
browsers
}

View File

@ -8,11 +8,7 @@ const { babel } = require('@rollup/plugin-babel')
const istanbul = require('rollup-plugin-istanbul')
const { nodeResolve } = require('@rollup/plugin-node-resolve')
const replace = require('@rollup/plugin-replace')
const {
browsers,
browsersKeys
} = require('./browsers')
const { browsers } = require('./browsers')
const ENV = process.env
const BROWSERSTACK = Boolean(ENV.BROWSERSTACK)
@ -115,7 +111,7 @@ if (BROWSERSTACK) {
}
plugins.push('karma-browserstack-launcher', 'karma-jasmine-html-reporter')
conf.customLaunchers = browsers
conf.browsers = browsersKeys
conf.browsers = Object.keys(browsers)
reporters.push('BrowserStack', 'kjhtml')
} else if (JQUERY_TEST) {
frameworks.push('detectBrowsers')