Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export default function configKarma(karma : Object) {
const karmaConfig = getKarmaConfig(karma, {
basePath: __dirname,
webpack: WEBPACK_CONFIG_TEST
});
karma.set(karmaConfig);
}
export default function configKarma(karma : Object) {
const karmaConfig = getKarmaConfig(karma, {
basePath: __dirname,
webpack: WEBPACK_CONFIG_TEST
});
karma.set(karmaConfig);
}
export default (karma : Object) =>
karma.set(getKarmaConfig(karma, {
client: {
captureConsole: true
},
basePath: __dirname,
webpack: getWebpackConfig({
vars: {
...globals,
__hosted_fields__: hostedFieldsGlobal,
__CLIENT_ID__: 'xyz',
__MERCHANT_ID__: 'abc',
__LOCALE_COUNTRY__: 'US',
__DEFAULT_LANG__: 'en',
__INTENT__: 'capture',
__COMMIT__: true,
export default function configKarma(karma : Object) {
const karmaConfig = getKarmaConfig(karma, {
basePath: __dirname,
testDir: 'test',
windowDir: 'test/integration/windows',
entry: 'test/integration/index.js',
webpack: WEBPACK_CONFIG_TEST
});
karma.set({
...karmaConfig,
files: [
{
pattern: 'test/integration/vendor/react_v15.1.0.js',
included: true,
served: true
},
export default function configKarma(karma : Object) {
const karmaConfig = getKarmaConfig(karma, {
basePath: __dirname,
webpack: WEBPACK_CONFIG_TEST
});
karma.set({
...karmaConfig,
files: [
'test/lib/react_v16.0.0.js',
'test/lib/react-dom_v16.0.0.js',
'test/lib/angular.min.js',
'test/lib/vue_v2.5.16.runtime.min.js',
'test/lib/angular-4.js',
{
pattern: 'test/zoid.js',
export default function configKarma(karma : Object) {
const karmaConfig = getKarmaConfig(karma, {
basePath: __dirname,
webpack: WEBPACK_CONFIG_TEST
});
karma.set(karmaConfig);
}
export default function configKarma(karma : Object) {
const karmaConfig = getKarmaConfig(karma, {
basePath: __dirname,
webpack: WEBPACK_CONFIG_TEST
});
karma.set(karmaConfig);
}