How to use @blueprintjs/karma-build-scripts - 6 common examples

To help you get started, we’ve selected a few @blueprintjs/karma-build-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 palantir / blueprint / packages / timezone / karma.conf.js View on Github external
module.exports = function (config) {
    const baseConfig = createKarmaConfig({
        dirname: __dirname,
    });
    config.set(baseConfig);
    config.set({
        // disable coverage reporter
        reporters: ["mocha"],
    });
};
github palantir / blueprint / packages / labs / karma.conf.js View on Github external
module.exports = function (config) {
    const baseConfig = createKarmaConfig({
        coverage: false,
        dirname: __dirname,
    });
    config.set(baseConfig);
    config.set({
        // test task should pass; we intentionally have no tests
        failOnEmptyTestSuite: false,
    });
};
github palantir / blueprint / packages / datetime / karma.conf.js View on Github external
module.exports = function (config) {
    const baseConfig = createKarmaConfig({
        dirname: __dirname,
    });
    config.set(baseConfig);
    config.set({
        // overrides here
    });
};
github palantir / blueprint / packages / core / karma.conf.js View on Github external
module.exports = function (config) {
    const baseConfig = createKarmaConfig({
        dirname: __dirname,
        coverageExcludes: [
            // not worth full coverage
            "src/accessibility/*",
            "src/common/abstractComponent*",
            "src/common/abstractPureComponent*",
        ],
    });
    config.set(baseConfig);
    config.set({
        // overrides here
    });
};
github palantir / blueprint / packages / select / karma.conf.js View on Github external
module.exports = function (config) {
    const baseConfig = createKarmaConfig({
        coverage: false,
        dirname: __dirname,
    });
    config.set(baseConfig);
};
github palantir / blueprint / packages / table / karma.conf.js View on Github external
module.exports = function (config) {
    const baseConfig = createKarmaConfig({
        dirname: __dirname,
        coverageOverrides: {
            "src/cell/cell*": {
                lines: 70,
            },
            "src/common/clipboard*": {
                lines: 60,
                statements: 60,
            },
            "src/headers/headerCell*": {
                lines: 70,
                statements: 70,
            },
        },
    });
    config.set(baseConfig);

@blueprintjs/karma-build-scripts

Karma build scripts for @blueprintjs packages

Apache-2.0
Latest version published 2 months ago

Package Health Score

68 / 100
Full package analysis

Popular @blueprintjs/karma-build-scripts functions

Similar packages