Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add @web-stories-wp prefix to karma packages name #8558

Merged
merged 10 commits into from Aug 6, 2021
2 changes: 1 addition & 1 deletion karma-dashboard.config.cjs
Expand Up @@ -57,7 +57,7 @@ module.exports = function (config) {

// Frameworks to use.
// Available frameworks: https://npmjs.org/browse/keyword/karma-adapter
frameworks: ['jasmine', 'karma-puppeteer-client'],
frameworks: ['jasmine', '@web-stories-wp/karma-puppeteer-client'],
swissspidy marked this conversation as resolved.
Show resolved Hide resolved

// list of files / patterns to load in the browser
files: [
Expand Down
2 changes: 1 addition & 1 deletion karma-edit-story.config.cjs
Expand Up @@ -57,7 +57,7 @@ module.exports = function (config) {

// Frameworks to use.
// Available frameworks: https://npmjs.org/browse/keyword/karma-adapter
frameworks: ['jasmine', 'karma-puppeteer-client'],
frameworks: ['jasmine', '@web-stories-wp/karma-puppeteer-client'],

// list of files / patterns to load in the browser
files: [
Expand Down
2 changes: 1 addition & 1 deletion packages/karma-cuj-reporter/package.json
@@ -1,5 +1,5 @@
{
"name": "karma-cuj-reporter",
"name": "@web-stories-wp/karma-cuj-reporter",
"private": true,
"engines": {
"node": ">= 15",
Expand Down
2 changes: 1 addition & 1 deletion packages/karma-failed-tests-reporter/package.json
@@ -1,5 +1,5 @@
{
"name": "karma-failed-tests-reporter",
"name": "@web-stories-wp/karma-failed-tests-reporter",
"private": true,
"engines": {
"node": ">= 15",
Expand Down
2 changes: 1 addition & 1 deletion packages/karma-puppeteer-client/package.json
@@ -1,5 +1,5 @@
{
"name": "karma-puppeteer-client",
"name": "@web-stories-wp/karma-puppeteer-client",
"private": true,
"engines": {
"node": ">= 15",
Expand Down
2 changes: 1 addition & 1 deletion packages/karma-puppeteer-client/src/client.js
Expand Up @@ -21,7 +21,7 @@

/**
* Runs a function exposed by Puppeteer browser.
* See `karma-puppeteer-launcher`.
* See `@web-stories-wp/karma-puppeteer-launcher`.
*
* @param {string} methodName The name of the karmaPuppeteer method.
* @return {*} Function result.
Expand Down
2 changes: 1 addition & 1 deletion packages/karma-puppeteer-launcher/package.json
@@ -1,5 +1,5 @@
{
"name": "karma-puppeteer-launcher",
"name": "@web-stories-wp/karma-puppeteer-launcher",
"private": true,
"engines": {
"node": ">= 15",
Expand Down