The karma-spec-reporter npm package is a Karma plugin which tells Karma to
print the name of each spec (e.g. test case). This is extremely useful
as a maintainer to be able to visually inspect the CI logs and confirm
that we are actually running JS tests and not just giving
false-positives.
We are stuck on an ancient Karma version (0.13.22, lastest is 6.x),
which seems to be incompatible with the latest karma-spec-reporter version
(0.0.36). Since upgrading karma-spec-reporter, spec name printing has
failed with:
02 12 2024 20:59:28.164:WARN [plugin]: Error during loading "karma-spec-reporter" plugin:
Cannot read properties of undefined (reading 'LOG_PRIORITIES')
Downgrading to karma-spec-reporter@0.0.20 eliminates this error and
restoring spec name printing to our JS CI logs.
44 lines
1.2 KiB
Plaintext
44 lines
1.2 KiB
Plaintext
// This file is written in "JSON5" (https://json5.org/) so that we can use comments.
|
|
{
|
|
"extends": [
|
|
"config:base",
|
|
"schedule:weekly",
|
|
":automergeLinters",
|
|
":automergeMinor",
|
|
":automergeTesters",
|
|
":enableVulnerabilityAlerts",
|
|
":semanticCommits",
|
|
":updateNotScheduled"
|
|
],
|
|
"packageRules": [
|
|
{
|
|
"matchDepTypes": [
|
|
"devDependencies"
|
|
],
|
|
"matchUpdateTypes": [
|
|
"lockFileMaintenance",
|
|
"minor",
|
|
"patch",
|
|
"pin"
|
|
],
|
|
"automerge": true
|
|
},
|
|
{
|
|
"matchPackagePatterns": ["@edx", "@openedx"],
|
|
"matchUpdateTypes": ["minor", "patch"],
|
|
"automerge": true
|
|
}
|
|
],
|
|
// When adding an ignoreDep, please include a reason and a public link that we can use to follow up and ensure
|
|
// that the ignoreDep is removed.
|
|
// This can be done as a comment within the ignoreDeps list.
|
|
"ignoreDeps": [
|
|
// karma-spec-reporter>0.20.0 does not seem compatible with our super-old 2016 Karma version (0.13.22).
|
|
// Ticket link: None, as upgrading Karma does not strike as worth the benefit.
|
|
"karma-spec-reporter"
|
|
],
|
|
"timezone": "America/New_York",
|
|
"prConcurrentLimit": 3,
|
|
"enabledManagers": ["npm"]
|
|
}
|