mirror of
https://github.com/grafana/grafana.git
synced 2025-08-02 03:12:13 +08:00

* tech: investigating karma + jest mix * tech: migrating tests to jest * tech: moved anoter test file to jest * test: migrated two more test files to jest * test: updated readme and made test fail to verify that it causes CI build failure * tech: added code coverage for jest tests * tech: testing codecov coverage * tech: migrated more tests * tech: migrated template srv to typescript and the tests to jest * tech: minor build fix * tech: build fixes * build: another attempt at fixing go test with coverage
14 lines
327 B
JavaScript
14 lines
327 B
JavaScript
module.exports = function(config, grunt) {
|
|
'use strict'
|
|
|
|
var coverage = '';
|
|
if (config.coverage) {
|
|
coverage = '--coverage';
|
|
}
|
|
|
|
return {
|
|
tslint : "node ./node_modules/tslint/lib/tslint-cli.js -c tslint.json --project ./tsconfig.json",
|
|
jest : "node ./node_modules/jest-cli/bin/jest.js " + coverage,
|
|
};
|
|
};
|