How to use the grumbler-scripts/config/karma.conf.getKarmaConfig function in grumbler-scripts

To help you get started, we’ve selected a few grumbler-scripts examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github paypal / paypal-smart-payment-buttons / karma.conf.js View on Github external
export default function configKarma(karma : Object) {

    const karmaConfig = getKarmaConfig(karma, {
        basePath: __dirname,
        webpack:  WEBPACK_CONFIG_TEST
    });

    karma.set(karmaConfig);
}
github paypal / paypal-sdk-client / karma.conf.js View on Github external
export default function configKarma(karma : Object) {

    const karmaConfig = getKarmaConfig(karma, {
        basePath: __dirname,
        webpack:  WEBPACK_CONFIG_TEST
    });

    karma.set(karmaConfig);
}
github paypal / paypal-card-components / karma.conf.js View on Github external
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,
github paypal / paypal-checkout-components / karma.conf.js View on Github external
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
            },
github krakenjs / zoid / karma.conf.js View on Github external
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',
github krakenjs / beaver-logger / karma.conf.js View on Github external
export default function configKarma(karma : Object) {

    const karmaConfig = getKarmaConfig(karma, {
        basePath: __dirname,
        webpack:  WEBPACK_CONFIG_TEST
    });

    karma.set(karmaConfig);
}
github krakenjs / post-robot / karma.conf.js View on Github external
export default function configKarma(karma : Object) {

    const karmaConfig = getKarmaConfig(karma, {
        basePath: __dirname,
        webpack:  WEBPACK_CONFIG_TEST
    });

    karma.set(karmaConfig);
}

grumbler-scripts

Javascript module template.

Apache-2.0
Latest version published 3 years ago

Package Health Score

46 / 100
Full package analysis