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:
parent
2a51370e92
commit
5739bf7637
@ -74,9 +74,6 @@ const browsers = {
|
||||
}
|
||||
}
|
||||
|
||||
const browsersKeys = Object.keys(browsers)
|
||||
|
||||
module.exports = {
|
||||
browsers,
|
||||
browsersKeys
|
||||
browsers
|
||||
}
|
||||
|
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user