$ date
--- stdout ---
Sun Nov 17 10:33:34 UTC 2024
--- end ---
$ git clone file:///srv/git/mediawiki-extensions-QuickSurveys.git repo --depth=1 -b REL1_42
--- stderr ---
Cloning into 'repo'...
--- stdout ---
--- end ---
$ git config user.name libraryupgrader
--- stdout ---
--- end ---
$ git config user.email tools.libraryupgrader@tools.wmflabs.org
--- stdout ---
--- end ---
$ git submodule update --init
--- stdout ---
--- end ---
$ grr init
--- stdout ---
Installed commit-msg hook.
--- end ---
$ git show-ref refs/heads/REL1_42
--- stdout ---
78311c64da102b91aa2804ed2c150d31db747a66 refs/heads/REL1_42
--- end ---
$ /usr/bin/npm audit --json
--- stdout ---
{
"auditReportVersion": 2,
"vulnerabilities": {
"babel-core": {
"name": "babel-core",
"severity": "critical",
"isDirect": true,
"via": [
"babel-helpers",
"babel-register",
"babel-template",
"babel-traverse",
"json5"
],
"effects": [
"babel-register"
],
"range": "5.8.20 - 7.0.0-beta.3",
"nodes": [
"node_modules/babel-core"
],
"fixAvailable": {
"name": "babel-core",
"version": "4.7.16",
"isSemVerMajor": true
}
},
"babel-helpers": {
"name": "babel-helpers",
"severity": "critical",
"isDirect": false,
"via": [
"babel-template"
],
"effects": [],
"range": "*",
"nodes": [
"node_modules/babel-helpers"
],
"fixAvailable": true
},
"babel-register": {
"name": "babel-register",
"severity": "high",
"isDirect": false,
"via": [
"babel-core"
],
"effects": [
"babel-core"
],
"range": "*",
"nodes": [
"node_modules/babel-register"
],
"fixAvailable": {
"name": "babel-core",
"version": "4.7.16",
"isSemVerMajor": true
}
},
"babel-template": {
"name": "babel-template",
"severity": "critical",
"isDirect": false,
"via": [
"babel-traverse"
],
"effects": [
"babel-helpers"
],
"range": "*",
"nodes": [
"node_modules/babel-template"
],
"fixAvailable": true
},
"babel-traverse": {
"name": "babel-traverse",
"severity": "critical",
"isDirect": false,
"via": [
{
"source": 1096879,
"name": "babel-traverse",
"dependency": "babel-traverse",
"title": "Babel vulnerable to arbitrary code execution when compiling specifically crafted malicious code",
"url": "https://github.com/advisories/GHSA-67hx-6x53-jw92",
"severity": "critical",
"cwe": [
"CWE-184",
"CWE-697"
],
"cvss": {
"score": 9.4,
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"
},
"range": "<7.23.2"
}
],
"effects": [
"babel-core",
"babel-template"
],
"range": "*",
"nodes": [
"node_modules/babel-traverse"
],
"fixAvailable": {
"name": "babel-core",
"version": "4.7.16",
"isSemVerMajor": true
}
},
"json5": {
"name": "json5",
"severity": "high",
"isDirect": false,
"via": [
{
"source": 1096543,
"name": "json5",
"dependency": "json5",
"title": "Prototype Pollution in JSON5 via Parse Method",
"url": "https://github.com/advisories/GHSA-9c47-m6qq-7p4h",
"severity": "high",
"cwe": [
"CWE-1321"
],
"cvss": {
"score": 7.1,
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:H"
},
"range": "<1.0.2"
}
],
"effects": [
"babel-core"
],
"range": "<1.0.2",
"nodes": [
"node_modules/babel-core/node_modules/json5"
],
"fixAvailable": {
"name": "babel-core",
"version": "4.7.16",
"isSemVerMajor": true
}
}
},
"metadata": {
"vulnerabilities": {
"info": 0,
"low": 0,
"moderate": 0,
"high": 2,
"critical": 4,
"total": 6
},
"dependencies": {
"prod": 1,
"dev": 976,
"optional": 2,
"peer": 0,
"peerOptional": 0,
"total": 976
}
}
}
--- end ---
$ /usr/bin/composer install
--- stderr ---
No composer.lock file present. Updating dependencies to latest instead of installing from lock file. See https://getcomposer.org/install for more information.
Loading composer repositories with package information
Updating dependencies
Lock file operations: 39 installs, 0 updates, 0 removals
- Locking composer/pcre (3.3.2)
- Locking composer/semver (3.4.0)
- Locking composer/spdx-licenses (1.5.8)
- Locking composer/xdebug-handler (3.0.5)
- Locking dealerdirect/phpcodesniffer-composer-installer (v1.0.0)
- Locking doctrine/deprecations (1.1.3)
- Locking felixfbecker/advanced-json-rpc (v3.2.1)
- Locking mediawiki/mediawiki-codesniffer (v43.0.0)
- Locking mediawiki/mediawiki-phan-config (0.14.0)
- Locking mediawiki/minus-x (1.1.1)
- Locking mediawiki/phan-taint-check-plugin (6.0.0)
- Locking microsoft/tolerant-php-parser (v0.1.2)
- Locking netresearch/jsonmapper (v4.5.0)
- Locking phan/phan (5.4.3)
- Locking php-parallel-lint/php-console-color (v1.0.1)
- Locking php-parallel-lint/php-console-highlighter (v1.0.0)
- Locking php-parallel-lint/php-parallel-lint (v1.3.2)
- Locking phpcsstandards/phpcsextra (1.1.2)
- Locking phpcsstandards/phpcsutils (1.0.9)
- Locking phpdocumentor/reflection-common (2.2.0)
- Locking phpdocumentor/reflection-docblock (5.6.0)
- Locking phpdocumentor/type-resolver (1.10.0)
- Locking phpstan/phpdoc-parser (2.0.0)
- Locking psr/container (2.0.2)
- Locking psr/log (2.0.0)
- Locking sabre/event (5.1.7)
- Locking squizlabs/php_codesniffer (3.8.1)
- Locking symfony/console (v5.4.47)
- Locking symfony/deprecation-contracts (v3.5.0)
- Locking symfony/polyfill-ctype (v1.31.0)
- Locking symfony/polyfill-intl-grapheme (v1.31.0)
- Locking symfony/polyfill-intl-normalizer (v1.31.0)
- Locking symfony/polyfill-mbstring (v1.31.0)
- Locking symfony/polyfill-php73 (v1.31.0)
- Locking symfony/polyfill-php80 (v1.31.0)
- Locking symfony/service-contracts (v3.5.0)
- Locking symfony/string (v6.4.15)
- Locking tysonandre/var_representation_polyfill (0.1.3)
- Locking webmozart/assert (1.11.0)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 39 installs, 0 updates, 0 removals
0 [>---------------------------] 0 [->--------------------------]
- Installing squizlabs/php_codesniffer (3.8.1): Extracting archive
- Installing dealerdirect/phpcodesniffer-composer-installer (v1.0.0): Extracting archive
- Installing composer/pcre (3.3.2): Extracting archive
- Installing symfony/polyfill-php80 (v1.31.0): Extracting archive
- Installing phpcsstandards/phpcsutils (1.0.9): Extracting archive
- Installing phpcsstandards/phpcsextra (1.1.2): Extracting archive
- Installing symfony/polyfill-mbstring (v1.31.0): Extracting archive
- Installing composer/spdx-licenses (1.5.8): Extracting archive
- Installing composer/semver (3.4.0): Extracting archive
- Installing mediawiki/mediawiki-codesniffer (v43.0.0): Extracting archive
- Installing tysonandre/var_representation_polyfill (0.1.3): Extracting archive
- Installing symfony/polyfill-intl-normalizer (v1.31.0): Extracting archive
- Installing symfony/polyfill-intl-grapheme (v1.31.0): Extracting archive
- Installing symfony/polyfill-ctype (v1.31.0): Extracting archive
- Installing symfony/string (v6.4.15): Extracting archive
- Installing symfony/deprecation-contracts (v3.5.0): Extracting archive
- Installing psr/container (2.0.2): Extracting archive
- Installing symfony/service-contracts (v3.5.0): Extracting archive
- Installing symfony/polyfill-php73 (v1.31.0): Extracting archive
- Installing symfony/console (v5.4.47): Extracting archive
- Installing sabre/event (5.1.7): Extracting archive
- Installing netresearch/jsonmapper (v4.5.0): Extracting archive
- Installing microsoft/tolerant-php-parser (v0.1.2): Extracting archive
- Installing webmozart/assert (1.11.0): Extracting archive
- Installing phpstan/phpdoc-parser (2.0.0): Extracting archive
- Installing phpdocumentor/reflection-common (2.2.0): Extracting archive
- Installing doctrine/deprecations (1.1.3): Extracting archive
- Installing phpdocumentor/type-resolver (1.10.0): Extracting archive
- Installing phpdocumentor/reflection-docblock (5.6.0): Extracting archive
- Installing felixfbecker/advanced-json-rpc (v3.2.1): Extracting archive
- Installing psr/log (2.0.0): Extracting archive
- Installing composer/xdebug-handler (3.0.5): Extracting archive
- Installing phan/phan (5.4.3): Extracting archive
- Installing mediawiki/phan-taint-check-plugin (6.0.0): Extracting archive
- Installing mediawiki/mediawiki-phan-config (0.14.0): Extracting archive
- Installing mediawiki/minus-x (1.1.1): Extracting archive
- Installing php-parallel-lint/php-console-color (v1.0.1): Extracting archive
- Installing php-parallel-lint/php-console-highlighter (v1.0.0): Extracting archive
- Installing php-parallel-lint/php-parallel-lint (v1.3.2): Extracting archive
0/37 [>---------------------------] 0%
20/37 [===============>------------] 54%
33/37 [========================>---] 89%
37/37 [============================] 100%
3 package suggestions were added by new dependencies, use `composer suggest` to see details.
Generating autoload files
16 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
--- stdout ---
PHP CodeSniffer Config installed_paths set to ../../mediawiki/mediawiki-codesniffer,../../phpcsstandards/phpcsextra,../../phpcsstandards/phpcsutils
--- end ---
$ /usr/bin/npm audit --json
--- stdout ---
{
"auditReportVersion": 2,
"vulnerabilities": {
"babel-core": {
"name": "babel-core",
"severity": "critical",
"isDirect": true,
"via": [
"babel-helpers",
"babel-register",
"babel-template",
"babel-traverse",
"json5"
],
"effects": [
"babel-register"
],
"range": "5.8.20 - 7.0.0-beta.3",
"nodes": [
"node_modules/babel-core"
],
"fixAvailable": {
"name": "babel-core",
"version": "4.7.16",
"isSemVerMajor": true
}
},
"babel-helpers": {
"name": "babel-helpers",
"severity": "critical",
"isDirect": false,
"via": [
"babel-template"
],
"effects": [],
"range": "*",
"nodes": [
"node_modules/babel-helpers"
],
"fixAvailable": true
},
"babel-register": {
"name": "babel-register",
"severity": "high",
"isDirect": false,
"via": [
"babel-core"
],
"effects": [
"babel-core"
],
"range": "*",
"nodes": [
"node_modules/babel-register"
],
"fixAvailable": {
"name": "babel-core",
"version": "4.7.16",
"isSemVerMajor": true
}
},
"babel-template": {
"name": "babel-template",
"severity": "critical",
"isDirect": false,
"via": [
"babel-traverse"
],
"effects": [
"babel-helpers"
],
"range": "*",
"nodes": [
"node_modules/babel-template"
],
"fixAvailable": true
},
"babel-traverse": {
"name": "babel-traverse",
"severity": "critical",
"isDirect": false,
"via": [
{
"source": 1096879,
"name": "babel-traverse",
"dependency": "babel-traverse",
"title": "Babel vulnerable to arbitrary code execution when compiling specifically crafted malicious code",
"url": "https://github.com/advisories/GHSA-67hx-6x53-jw92",
"severity": "critical",
"cwe": [
"CWE-184",
"CWE-697"
],
"cvss": {
"score": 9.4,
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"
},
"range": "<7.23.2"
}
],
"effects": [
"babel-core",
"babel-template"
],
"range": "*",
"nodes": [
"node_modules/babel-traverse"
],
"fixAvailable": {
"name": "babel-core",
"version": "4.7.16",
"isSemVerMajor": true
}
},
"json5": {
"name": "json5",
"severity": "high",
"isDirect": false,
"via": [
{
"source": 1096543,
"name": "json5",
"dependency": "json5",
"title": "Prototype Pollution in JSON5 via Parse Method",
"url": "https://github.com/advisories/GHSA-9c47-m6qq-7p4h",
"severity": "high",
"cwe": [
"CWE-1321"
],
"cvss": {
"score": 7.1,
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:H"
},
"range": "<1.0.2"
}
],
"effects": [
"babel-core"
],
"range": "<1.0.2",
"nodes": [
"node_modules/babel-core/node_modules/json5"
],
"fixAvailable": {
"name": "babel-core",
"version": "4.7.16",
"isSemVerMajor": true
}
}
},
"metadata": {
"vulnerabilities": {
"info": 0,
"low": 0,
"moderate": 0,
"high": 2,
"critical": 4,
"total": 6
},
"dependencies": {
"prod": 1,
"dev": 976,
"optional": 2,
"peer": 0,
"peerOptional": 0,
"total": 976
}
}
}
--- end ---
Attempting to npm audit fix
$ /usr/bin/npm audit fix --dry-run --only=dev --json
--- stderr ---
npm WARN invalid config only="dev" set in command line options
npm WARN invalid config Must be one of: null, prod, production
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '@es-joy/jsdoccomment@0.23.6',
npm WARN EBADENGINE required: { node: '^12 || ^14 || ^16 || ^17' },
npm WARN EBADENGINE current: { node: 'v18.19.0', npm: '9.2.0' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: 'eslint-plugin-jsdoc@39.2.2',
npm WARN EBADENGINE required: { node: '^14 || ^16 || ^17' },
npm WARN EBADENGINE current: { node: 'v18.19.0', npm: '9.2.0' }
npm WARN EBADENGINE }
--- stdout ---
{
"added": 976,
"removed": 0,
"changed": 0,
"audited": 977,
"funding": 105,
"audit": {
"auditReportVersion": 2,
"vulnerabilities": {
"babel-core": {
"name": "babel-core",
"severity": "critical",
"isDirect": true,
"via": [
"babel-helpers",
"babel-register",
"babel-template",
"babel-traverse",
"json5"
],
"effects": [
"babel-register"
],
"range": "5.8.20 - 7.0.0-beta.3",
"nodes": [
"node_modules/babel-core"
],
"fixAvailable": {
"name": "babel-core",
"version": "4.7.16",
"isSemVerMajor": true
}
},
"babel-helpers": {
"name": "babel-helpers",
"severity": "critical",
"isDirect": false,
"via": [
"babel-template"
],
"effects": [],
"range": "*",
"nodes": [
"node_modules/babel-helpers"
],
"fixAvailable": true
},
"babel-register": {
"name": "babel-register",
"severity": "high",
"isDirect": false,
"via": [
"babel-core"
],
"effects": [
"babel-core"
],
"range": "*",
"nodes": [
"node_modules/babel-register"
],
"fixAvailable": {
"name": "babel-core",
"version": "4.7.16",
"isSemVerMajor": true
}
},
"babel-template": {
"name": "babel-template",
"severity": "critical",
"isDirect": false,
"via": [
"babel-traverse"
],
"effects": [
"babel-helpers"
],
"range": "*",
"nodes": [
"node_modules/babel-template"
],
"fixAvailable": true
},
"babel-traverse": {
"name": "babel-traverse",
"severity": "critical",
"isDirect": false,
"via": [
{
"source": 1096879,
"name": "babel-traverse",
"dependency": "babel-traverse",
"title": "Babel vulnerable to arbitrary code execution when compiling specifically crafted malicious code",
"url": "https://github.com/advisories/GHSA-67hx-6x53-jw92",
"severity": "critical",
"cwe": [
"CWE-184",
"CWE-697"
],
"cvss": {
"score": 9.4,
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"
},
"range": "<7.23.2"
}
],
"effects": [
"babel-core",
"babel-template"
],
"range": "*",
"nodes": [
"node_modules/babel-traverse"
],
"fixAvailable": {
"name": "babel-core",
"version": "4.7.16",
"isSemVerMajor": true
}
},
"json5": {
"name": "json5",
"severity": "high",
"isDirect": false,
"via": [
{
"source": 1096543,
"name": "json5",
"dependency": "json5",
"title": "Prototype Pollution in JSON5 via Parse Method",
"url": "https://github.com/advisories/GHSA-9c47-m6qq-7p4h",
"severity": "high",
"cwe": [
"CWE-1321"
],
"cvss": {
"score": 7.1,
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:H"
},
"range": "<1.0.2"
}
],
"effects": [
"babel-core"
],
"range": "<1.0.2",
"nodes": [
"node_modules/babel-core/node_modules/json5"
],
"fixAvailable": {
"name": "babel-core",
"version": "4.7.16",
"isSemVerMajor": true
}
}
},
"metadata": {
"vulnerabilities": {
"info": 0,
"low": 0,
"moderate": 0,
"high": 2,
"critical": 4,
"total": 6
},
"dependencies": {
"prod": 1,
"dev": 976,
"optional": 2,
"peer": 0,
"peerOptional": 0,
"total": 976
}
}
}
}
--- end ---
{"added": 976, "removed": 0, "changed": 0, "audited": 977, "funding": 105, "audit": {"auditReportVersion": 2, "vulnerabilities": {"babel-core": {"name": "babel-core", "severity": "critical", "isDirect": true, "via": ["babel-helpers", "babel-register", "babel-template", "babel-traverse", "json5"], "effects": ["babel-register"], "range": "5.8.20 - 7.0.0-beta.3", "nodes": ["node_modules/babel-core"], "fixAvailable": {"name": "babel-core", "version": "4.7.16", "isSemVerMajor": true}}, "babel-helpers": {"name": "babel-helpers", "severity": "critical", "isDirect": false, "via": ["babel-template"], "effects": [], "range": "*", "nodes": ["node_modules/babel-helpers"], "fixAvailable": true}, "babel-register": {"name": "babel-register", "severity": "high", "isDirect": false, "via": ["babel-core"], "effects": ["babel-core"], "range": "*", "nodes": ["node_modules/babel-register"], "fixAvailable": {"name": "babel-core", "version": "4.7.16", "isSemVerMajor": true}}, "babel-template": {"name": "babel-template", "severity": "critical", "isDirect": false, "via": ["babel-traverse"], "effects": ["babel-helpers"], "range": "*", "nodes": ["node_modules/babel-template"], "fixAvailable": true}, "babel-traverse": {"name": "babel-traverse", "severity": "critical", "isDirect": false, "via": [{"source": 1096879, "name": "babel-traverse", "dependency": "babel-traverse", "title": "Babel vulnerable to arbitrary code execution when compiling specifically crafted malicious code", "url": "https://github.com/advisories/GHSA-67hx-6x53-jw92", "severity": "critical", "cwe": ["CWE-184", "CWE-697"], "cvss": {"score": 9.4, "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"}, "range": "<7.23.2"}], "effects": ["babel-core", "babel-template"], "range": "*", "nodes": ["node_modules/babel-traverse"], "fixAvailable": {"name": "babel-core", "version": "4.7.16", "isSemVerMajor": true}}, "json5": {"name": "json5", "severity": "high", "isDirect": false, "via": [{"source": 1096543, "name": "json5", "dependency": "json5", "title": "Prototype Pollution in JSON5 via Parse Method", "url": "https://github.com/advisories/GHSA-9c47-m6qq-7p4h", "severity": "high", "cwe": ["CWE-1321"], "cvss": {"score": 7.1, "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:H"}, "range": "<1.0.2"}], "effects": ["babel-core"], "range": "<1.0.2", "nodes": ["node_modules/babel-core/node_modules/json5"], "fixAvailable": {"name": "babel-core", "version": "4.7.16", "isSemVerMajor": true}}}, "metadata": {"vulnerabilities": {"info": 0, "low": 0, "moderate": 0, "high": 2, "critical": 4, "total": 6}, "dependencies": {"prod": 1, "dev": 976, "optional": 2, "peer": 0, "peerOptional": 0, "total": 976}}}}
$ /usr/bin/npm audit fix --only=dev
--- stderr ---
npm WARN invalid config only="dev" set in command line options
npm WARN invalid config Must be one of: null, prod, production
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '@es-joy/jsdoccomment@0.23.6',
npm WARN EBADENGINE required: { node: '^12 || ^14 || ^16 || ^17' },
npm WARN EBADENGINE current: { node: 'v18.19.0', npm: '9.2.0' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: 'eslint-plugin-jsdoc@39.2.2',
npm WARN EBADENGINE required: { node: '^14 || ^16 || ^17' },
npm WARN EBADENGINE current: { node: 'v18.19.0', npm: '9.2.0' }
npm WARN EBADENGINE }
npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated domexception@4.0.0: Use your platform's native DOMException instead
npm WARN deprecated stylelint-stylistic@0.4.3: This package has been deprecated in favor of @stylistic/stylelint-plugin
npm WARN deprecated core-js@2.6.12: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.
--- stdout ---
added 975 packages, and audited 976 packages in 9s
105 packages are looking for funding
run `npm fund` for details
# npm audit report
babel-traverse *
Severity: critical
Babel vulnerable to arbitrary code execution when compiling specifically crafted malicious code - https://github.com/advisories/GHSA-67hx-6x53-jw92
fix available via `npm audit fix --force`
Will install babel-core@4.7.16, which is a breaking change
node_modules/babel-traverse
babel-core 5.8.20 - 7.0.0-beta.3
Depends on vulnerable versions of babel-helpers
Depends on vulnerable versions of babel-register
Depends on vulnerable versions of babel-template
Depends on vulnerable versions of babel-traverse
Depends on vulnerable versions of json5
node_modules/babel-core
babel-register *
Depends on vulnerable versions of babel-core
node_modules/babel-register
babel-template *
Depends on vulnerable versions of babel-traverse
node_modules/babel-template
babel-helpers *
Depends on vulnerable versions of babel-template
node_modules/babel-helpers
json5 <1.0.2
Severity: high
Prototype Pollution in JSON5 via Parse Method - https://github.com/advisories/GHSA-9c47-m6qq-7p4h
fix available via `npm audit fix --force`
Will install babel-core@4.7.16, which is a breaking change
node_modules/babel-core/node_modules/json5
6 vulnerabilities (2 high, 4 critical)
To address issues that do not require attention, run:
npm audit fix
To address all issues (including breaking changes), run:
npm audit fix --force
--- end ---
Verifying that tests still pass
$ /usr/bin/npm ci
--- stderr ---
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '@es-joy/jsdoccomment@0.23.6',
npm WARN EBADENGINE required: { node: '^12 || ^14 || ^16 || ^17' },
npm WARN EBADENGINE current: { node: 'v18.19.0', npm: '9.2.0' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: 'eslint-plugin-jsdoc@39.2.2',
npm WARN EBADENGINE required: { node: '^14 || ^16 || ^17' },
npm WARN EBADENGINE current: { node: 'v18.19.0', npm: '9.2.0' }
npm WARN EBADENGINE }
npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated domexception@4.0.0: Use your platform's native DOMException instead
npm WARN deprecated stylelint-stylistic@0.4.3: This package has been deprecated in favor of @stylistic/stylelint-plugin
npm WARN deprecated core-js@2.6.12: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.
--- stdout ---
added 975 packages, and audited 976 packages in 11s
105 packages are looking for funding
run `npm fund` for details
6 vulnerabilities (2 high, 4 critical)
To address issues that do not require attention, run:
npm audit fix
To address all issues (including breaking changes), run:
npm audit fix --force
Run `npm audit` for details.
--- end ---
$ /usr/bin/npm test
--- stderr ---
PASS tests/jest/QuickSurvey.test.js
● Console
console.warn
[Vue warn]: CdxButton: Icon-only buttons require one of the following attributes: aria-label or aria-hidden. See documentation at https://doc.wikimedia.org/codex/latest/components/demos/button.html#icon-only-button
at <CdxButton weight="quiet" onClick=fn<bound dismissAndDestroy> >
at <QuickSurvey name="survey" yesButtonLabel="yes" noButtonLabel="no" ... >
at <VTUROOT>
25 |
26 | it( 'renders with required parameters', () => {
> 27 | const survey = VueTestUtils.mount( QuickSurvey, {
| ^
28 | propsData: {
29 | name: 'survey',
30 | yesButtonLabel: 'yes',
at Object.warn (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:41:13)
at Me (node_modules/@wikimedia/codex/dist/codex.cjs:1:6225)
at $t (node_modules/@wikimedia/codex/dist/codex.cjs:1:6448)
at setup (node_modules/@wikimedia/codex/dist/codex.cjs:1:7002)
at callWithErrorHandling (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:156:18)
at setupStatefulComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7277:25)
at setupComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7238:36)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5635:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5601:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5087:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5331:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5238:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5203:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5075:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5331:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5238:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5203:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5075:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5331:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5238:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5203:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5075:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5331:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5238:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5203:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5075:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5744:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:182:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5850:51)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5858:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5648:5)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5601:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5087:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5744:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:182:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5850:51)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5858:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5648:5)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5601:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5087:11)
at render (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6368:7)
at mount (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3837:13)
at Object.app.mount (node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.js:1396:19)
at Object.mount (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:7919:18)
at Object.<anonymous> (tests/jest/QuickSurvey.test.js:27:31)
console.warn
[Vue warn]: CdxButton: Icon-only buttons require one of the following attributes: aria-label or aria-hidden. See documentation at https://doc.wikimedia.org/codex/latest/components/demos/button.html#icon-only-button
at <CdxButton weight="quiet" onClick=fn<bound dismissAndDestroy> >
at <QuickSurvey name="survey" yesButtonLabel="yes" noButtonLabel="no" ... >
at <VTUROOT>
47 |
48 | it( 'renders with required parameters', () => {
> 49 | const survey = VueTestUtils.mount( QuickSurvey, {
| ^
50 | propsData: {
51 | name: 'survey',
52 | yesButtonLabel: 'yes',
at Object.warn (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:41:13)
at Me (node_modules/@wikimedia/codex/dist/codex.cjs:1:6225)
at $t (node_modules/@wikimedia/codex/dist/codex.cjs:1:6448)
at setup (node_modules/@wikimedia/codex/dist/codex.cjs:1:7002)
at callWithErrorHandling (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:156:18)
at setupStatefulComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7277:25)
at setupComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7238:36)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5635:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5601:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5087:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5331:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5238:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5203:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5075:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5331:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5238:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5203:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5075:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5331:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5238:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5203:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5075:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5331:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5238:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5203:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5075:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5744:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:182:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5850:51)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5858:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5648:5)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5601:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5087:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5744:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:182:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5850:51)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5858:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5648:5)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5601:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5087:11)
at render (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6368:7)
at mount (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3837:13)
at Object.app.mount (node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.js:1396:19)
at Object.mount (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:7919:18)
at Object.<anonymous> (tests/jest/QuickSurvey.test.js:49:31)
console.warn
[Vue warn]: CdxButton: Icon-only buttons require one of the following attributes: aria-label or aria-hidden. See documentation at https://doc.wikimedia.org/codex/latest/components/demos/button.html#icon-only-button
at <CdxButton weight="quiet" onClick=fn<bound dismissAndDestroy> >
at <QuickSurvey name="survey" question="question" thankYouMessage="thanks!" ... >
at <VTUROOT>
69 |
70 | it( 'clicking the close button dismisses and removes survey', () => {
> 71 | const survey = VueTestUtils.mount( QuickSurvey, {
| ^
72 | propsData: {
73 | name: 'survey',
74 | question: 'question',
at Object.warn (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:41:13)
at Me (node_modules/@wikimedia/codex/dist/codex.cjs:1:6225)
at $t (node_modules/@wikimedia/codex/dist/codex.cjs:1:6448)
at setup (node_modules/@wikimedia/codex/dist/codex.cjs:1:7002)
at callWithErrorHandling (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:156:18)
at setupStatefulComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7277:25)
at setupComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7238:36)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5635:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5601:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5087:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5331:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5238:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5203:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5075:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5331:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5238:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5203:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5075:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5331:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5238:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5203:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5075:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5331:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5238:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5203:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5075:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5744:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:182:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5850:51)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5858:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5648:5)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5601:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5087:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5744:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:182:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5850:51)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5858:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5648:5)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5601:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5087:11)
at render (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6368:7)
at mount (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3837:13)
at Object.app.mount (node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.js:1396:19)
at Object.mount (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:7919:18)
at Object.<anonymous> (tests/jest/QuickSurvey.test.js:71:31)
console.warn
[Vue warn]: CdxButton: Icon-only buttons require one of the following attributes: aria-label or aria-hidden. See documentation at https://doc.wikimedia.org/codex/latest/components/demos/button.html#icon-only-button
at <CdxButton weight="quiet" onClick=fn<bound dismissAndDestroy> >
at <QuickSurvey name="survey" question="question" thankYouMessage="thanks!" ... >
at <VTUROOT>
95 | describe( 'ExternalSurvey', () => {
96 | it( 'renders two external survey buttons with externalLink', () => {
> 97 | const survey = VueTestUtils.mount( QuickSurvey, {
| ^
98 | propsData: {
99 | name: 'survey',
100 | question: 'question',
at Object.warn (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:41:13)
at Me (node_modules/@wikimedia/codex/dist/codex.cjs:1:6225)
at $t (node_modules/@wikimedia/codex/dist/codex.cjs:1:6448)
at setup (node_modules/@wikimedia/codex/dist/codex.cjs:1:7002)
at callWithErrorHandling (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:156:18)
at setupStatefulComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7277:25)
at setupComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7238:36)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5635:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5601:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5087:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5331:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5238:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5203:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5075:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5331:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5238:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5203:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5075:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5331:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5238:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5203:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5075:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5331:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5238:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5203:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5075:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5744:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:182:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5850:51)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5858:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5648:5)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5601:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5087:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5744:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:182:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5850:51)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5858:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5648:5)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5601:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5087:11)
at render (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6368:7)
at mount (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3837:13)
at Object.app.mount (node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.js:1396:19)
at Object.mount (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:7919:18)
at Object.<anonymous> (tests/jest/QuickSurvey.test.js:97:32)
console.warn
[Vue warn]: CdxButton: Icon-only buttons require one of the following attributes: aria-label or aria-hidden. See documentation at https://doc.wikimedia.org/codex/latest/components/demos/button.html#icon-only-button
at <CdxButton weight="quiet" onClick=fn<bound dismissAndDestroy> >
at <QuickSurvey name="survey" question="question" thankYouMessage="thanks!" ... >
at <VTUROOT>
114 |
115 | it( 'clicking dismiss button removes survey', () => {
> 116 | const survey = VueTestUtils.mount( QuickSurvey, {
| ^
117 | propsData: {
118 | name: 'survey',
119 | question: 'question',
at Object.warn (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:41:13)
at Me (node_modules/@wikimedia/codex/dist/codex.cjs:1:6225)
at $t (node_modules/@wikimedia/codex/dist/codex.cjs:1:6448)
at setup (node_modules/@wikimedia/codex/dist/codex.cjs:1:7002)
at callWithErrorHandling (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:156:18)
at setupStatefulComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7277:25)
at setupComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7238:36)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5635:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5601:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5087:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5331:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5238:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5203:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5075:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5331:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5238:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5203:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5075:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5331:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5238:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5203:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5075:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5331:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5238:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5203:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5075:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5744:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:182:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5850:51)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5858:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5648:5)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5601:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5087:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5744:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:182:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5850:51)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5858:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5648:5)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5601:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5087:11)
at render (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6368:7)
at mount (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3837:13)
at Object.app.mount (node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.js:1396:19)
at Object.mount (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:7919:18)
at Object.<anonymous> (tests/jest/QuickSurvey.test.js:116:32)
console.warn
[Vue warn]: CdxButton: Icon-only buttons require one of the following attributes: aria-label or aria-hidden. See documentation at https://doc.wikimedia.org/codex/latest/components/demos/button.html#icon-only-button
at <CdxButton weight="quiet" onClick=fn<bound dismissAndDestroy> >
at <QuickSurvey name="survey" thankYouMessage="thanks!" yesButtonLabel="yes" ... >
at <VTUROOT>
139 |
140 | it( 'Opens window when yes clicked for external surveys', () => {
> 141 | const survey = VueTestUtils.mount( QuickSurvey, {
| ^
142 | propsData: {
143 | name: 'survey',
144 | thankYouMessage: 'thanks!',
at Object.warn (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:41:13)
at Me (node_modules/@wikimedia/codex/dist/codex.cjs:1:6225)
at $t (node_modules/@wikimedia/codex/dist/codex.cjs:1:6448)
at setup (node_modules/@wikimedia/codex/dist/codex.cjs:1:7002)
at callWithErrorHandling (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:156:18)
at setupStatefulComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7277:25)
at setupComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7238:36)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5635:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5601:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5087:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5331:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5238:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5203:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5075:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5331:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5238:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5203:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5075:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5331:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5238:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5203:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5075:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5331:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5238:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5203:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5075:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5744:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:182:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5850:51)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5858:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5648:5)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5601:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5087:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5744:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:182:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5850:51)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5858:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5648:5)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5601:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5087:11)
at render (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6368:7)
at mount (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3837:13)
at Object.app.mount (node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.js:1396:19)
at Object.mount (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:7919:18)
at Object.<anonymous> (tests/jest/QuickSurvey.test.js:141:32)
console.warn
[Vue warn]: CdxButton: Icon-only buttons require one of the following attributes: aria-label or aria-hidden. See documentation at https://doc.wikimedia.org/codex/latest/components/demos/button.html#icon-only-button
at <CdxButton weight="quiet" onClick=fn<bound dismissAndDestroy> >
at <QuickSurvey name="survey" thankYouMessage="thanks!" footer="privacy policy instead of additional info" ... >
at <VTUROOT>
162 | it( 'displays privacy policy when completed if additional information is not defined', () => {
163 | const privacyPolicy = 'privacy policy instead of additional info';
> 164 | const survey = VueTestUtils.mount( QuickSurvey, {
| ^
165 | propsData: {
166 | name: 'survey',
167 | thankYouMessage: 'thanks!',
at Object.warn (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:41:13)
at Me (node_modules/@wikimedia/codex/dist/codex.cjs:1:6225)
at $t (node_modules/@wikimedia/codex/dist/codex.cjs:1:6448)
at setup (node_modules/@wikimedia/codex/dist/codex.cjs:1:7002)
at callWithErrorHandling (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:156:18)
at setupStatefulComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7277:25)
at setupComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7238:36)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5635:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5601:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5087:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5331:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5238:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5203:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5075:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5331:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5238:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5203:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5075:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5331:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5238:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5203:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5075:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5331:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5238:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5203:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5075:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5744:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:182:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5850:51)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5858:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5648:5)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5601:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5087:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5744:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:182:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5850:51)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5858:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5648:5)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5601:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5087:11)
at render (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6368:7)
at mount (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3837:13)
at Object.app.mount (node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.js:1396:19)
at Object.mount (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:7919:18)
at Object.<anonymous> (tests/jest/QuickSurvey.test.js:164:32)
console.warn
[Vue warn]: CdxButton: Icon-only buttons require one of the following attributes: aria-label or aria-hidden. See documentation at https://doc.wikimedia.org/codex/latest/components/demos/button.html#icon-only-button
at <CdxButton weight="quiet" onClick=fn<bound dismissAndDestroy> >
at <QuickSurvey name="survey" thankYouMessage="thanks!" additionalInfo="addtional info instead of privacy policy" ... >
at <VTUROOT>
184 | const additionalInfo = 'addtional info instead of privacy policy';
185 | const privacyPolicy = 'privacy policy instead of additional info';
> 186 | const survey = VueTestUtils.mount( QuickSurvey, {
| ^
187 | propsData: {
188 | name: 'survey',
189 | thankYouMessage: 'thanks!',
at Object.warn (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:41:13)
at Me (node_modules/@wikimedia/codex/dist/codex.cjs:1:6225)
at $t (node_modules/@wikimedia/codex/dist/codex.cjs:1:6448)
at setup (node_modules/@wikimedia/codex/dist/codex.cjs:1:7002)
at callWithErrorHandling (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:156:18)
at setupStatefulComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7277:25)
at setupComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7238:36)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5635:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5601:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5087:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5331:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5238:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5203:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5075:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5331:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5238:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5203:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5075:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5331:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5238:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5203:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5075:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5331:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5238:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5203:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5075:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5744:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:182:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5850:51)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5858:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5648:5)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5601:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5087:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5744:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:182:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5850:51)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5858:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5648:5)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5601:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5087:11)
at render (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6368:7)
at mount (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3837:13)
at Object.app.mount (node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.js:1396:19)
at Object.mount (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:7919:18)
at Object.<anonymous> (tests/jest/QuickSurvey.test.js:186:32)
console.warn
[Vue warn]: CdxButton: Icon-only buttons require one of the following attributes: aria-label or aria-hidden. See documentation at https://doc.wikimedia.org/codex/latest/components/demos/button.html#icon-only-button
at <CdxButton weight="quiet" onClick=fn<bound dismissAndDestroy> >
at <QuickSurvey layout="single-answer" name="survey" answers= [
{ key: 'yes', label: 'Yes' },
{ key: 'maybe', label: 'maybe' },
{ key: 'no', label: 'no' }
] ... >
at <VTUROOT>
230 |
231 | it( 'requires an answer', () => {
> 232 | const survey = VueTestUtils.mount( QuickSurvey, SINGLE_ANSWER_SURVEY );
| ^
233 | return survey.findAllComponents( codex.CdxButton )[ 4 ].trigger( 'click' ).then( () => {
234 | expect( window.alert.mock.calls.length ).toBe( 1 );
235 | } );
at Object.warn (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:41:13)
at Me (node_modules/@wikimedia/codex/dist/codex.cjs:1:6225)
at $t (node_modules/@wikimedia/codex/dist/codex.cjs:1:6448)
at setup (node_modules/@wikimedia/codex/dist/codex.cjs:1:7002)
at callWithErrorHandling (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:156:18)
at setupStatefulComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7277:25)
at setupComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7238:36)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5635:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5601:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5087:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5331:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5238:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5203:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5075:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5331:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5238:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5203:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5075:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5331:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5238:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5203:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5075:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5331:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5238:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5203:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5075:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5744:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:182:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5850:51)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5858:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5648:5)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5601:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5087:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5744:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:182:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5850:51)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5858:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5648:5)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5601:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5087:11)
at render (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6368:7)
at mount (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3837:13)
at Object.app.mount (node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.js:1396:19)
at Object.mount (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:7919:18)
at Object.<anonymous> (tests/jest/QuickSurvey.test.js:232:32)
console.warn
[Vue warn]: CdxButton: Icon-only buttons require one of the following attributes: aria-label or aria-hidden. See documentation at https://doc.wikimedia.org/codex/latest/components/demos/button.html#icon-only-button
at <CdxButton weight="quiet" onClick=fn<bound dismissAndDestroy> >
at <QuickSurvey layout="single-answer" name="survey" answers= [
{ key: 'yes', label: 'Yes' },
{ key: 'no', label: 'no' },
{ key: 'maybe', label: 'maybe' }
] ... >
at <VTUROOT>
237 |
238 | it( 'does not shuffle answers when clicked', () => {
> 239 | const survey = VueTestUtils.mount( QuickSurvey, SINGLE_ANSWER_SURVEY );
| ^
240 |
241 | const buttons = survey.findAllComponents( codex.CdxButton );
242 |
at Object.warn (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:41:13)
at Me (node_modules/@wikimedia/codex/dist/codex.cjs:1:6225)
at $t (node_modules/@wikimedia/codex/dist/codex.cjs:1:6448)
at setup (node_modules/@wikimedia/codex/dist/codex.cjs:1:7002)
at callWithErrorHandling (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:156:18)
at setupStatefulComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7277:25)
at setupComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7238:36)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5635:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5601:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5087:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5331:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5238:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5203:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5075:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5331:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5238:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5203:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5075:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5331:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5238:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5203:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5075:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5331:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5238:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5203:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5075:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5744:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:182:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5850:51)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5858:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5648:5)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5601:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5087:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5744:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:182:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5850:51)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5858:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5648:5)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5601:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5087:11)
at render (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6368:7)
at mount (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3837:13)
at Object.app.mount (node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.js:1396:19)
at Object.mount (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:7919:18)
at Object.<anonymous> (tests/jest/QuickSurvey.test.js:239:32)
console.warn
[Vue warn]: CdxButton: Icon-only buttons require one of the following attributes: aria-label or aria-hidden. See documentation at https://doc.wikimedia.org/codex/latest/components/demos/button.html#icon-only-button
at <CdxButton weight="quiet" onClick=fn<bound dismissAndDestroy> >
at <QuickSurvey layout="single-answer" name="survey" answers= [
{ key: 'yes', label: 'Yes' },
{ key: 'maybe', label: 'maybe' },
{ key: 'no', label: 'no' }
] ... >
at <VTUROOT>
255 |
256 | it( 'Supports single answer surveys with free form text field', () => {
> 257 | const survey = VueTestUtils.mount( QuickSurvey, SINGLE_ANSWER_SURVEY );
| ^
258 |
259 | const buttons = survey.findAllComponents( codex.CdxButton );
260 | const checkboxes = survey.findAll( 'input[type="checkbox"]' );
at Object.warn (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:41:13)
at Me (node_modules/@wikimedia/codex/dist/codex.cjs:1:6225)
at $t (node_modules/@wikimedia/codex/dist/codex.cjs:1:6448)
at setup (node_modules/@wikimedia/codex/dist/codex.cjs:1:7002)
at callWithErrorHandling (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:156:18)
at setupStatefulComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7277:25)
at setupComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7238:36)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5635:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5601:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5087:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5331:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5238:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5203:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5075:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5331:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5238:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5203:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5075:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5331:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5238:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5203:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5075:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5331:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5238:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5203:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5075:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5744:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:182:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5850:51)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5858:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5648:5)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5601:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5087:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5744:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:182:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5850:51)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5858:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5648:5)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5601:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5087:11)
at render (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6368:7)
at mount (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3837:13)
at Object.app.mount (node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.js:1396:19)
at Object.mount (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:7919:18)
at Object.<anonymous> (tests/jest/QuickSurvey.test.js:257:32)
console.warn
[Vue warn]: CdxButton: Icon-only buttons require one of the following attributes: aria-label or aria-hidden. See documentation at https://doc.wikimedia.org/codex/latest/components/demos/button.html#icon-only-button
at <CdxButton weight="quiet" onClick=fn<bound dismissAndDestroy> >
at <QuickSurvey layout="single-answer" name="survey" answers= [
{ key: 'no', label: 'no' },
{ key: 'maybe', label: 'maybe' },
{ key: 'yes', label: 'Yes' }
] ... >
at <VTUROOT>
300 |
301 | it( 'displays privacy policy when completed if additional information is not defined', () => {
> 302 | const survey = VueTestUtils.mount( QuickSurvey, SINGLE_ANSWER_SURVEY );
| ^
303 | const buttons = survey.findAllComponents( codex.CdxButton );
304 | return buttons[ 1 ].trigger( 'click' ).then( () => {
305 | expect( survey.find( 'div.survey-footer' ).text() ).toContain( privacyPolicy );
at Object.warn (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:41:13)
at Me (node_modules/@wikimedia/codex/dist/codex.cjs:1:6225)
at $t (node_modules/@wikimedia/codex/dist/codex.cjs:1:6448)
at setup (node_modules/@wikimedia/codex/dist/codex.cjs:1:7002)
at callWithErrorHandling (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:156:18)
at setupStatefulComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7277:25)
at setupComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7238:36)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5635:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5601:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5087:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5331:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5238:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5203:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5075:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5331:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5238:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5203:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5075:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5331:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5238:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5203:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5075:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5331:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5238:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5203:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5075:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5744:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:182:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5850:51)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5858:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5648:5)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5601:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5087:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5744:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:182:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5850:51)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5858:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5648:5)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5601:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5087:11)
at render (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6368:7)
at mount (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3837:13)
at Object.app.mount (node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.js:1396:19)
at Object.mount (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:7919:18)
at Object.<anonymous> (tests/jest/QuickSurvey.test.js:302:32)
console.warn
[Vue warn]: CdxButton: Icon-only buttons require one of the following attributes: aria-label or aria-hidden. See documentation at https://doc.wikimedia.org/codex/latest/components/demos/button.html#icon-only-button
at <CdxButton weight="quiet" onClick=fn<bound dismissAndDestroy> >
at <QuickSurvey layout="single-answer" name="survey" answers= [
{ key: 'maybe', label: 'maybe' },
{ key: 'yes', label: 'Yes' },
{ key: 'no', label: 'no' }
] ... >
at <VTUROOT>
309 | it( 'displays additional information instead of privacy policy when completed if additional information is defined', () => {
310 | SINGLE_ANSWER_SURVEY.propsData.footer = additionalInfo;
> 311 | const survey = VueTestUtils.mount( QuickSurvey, SINGLE_ANSWER_SURVEY );
| ^
312 | const buttons = survey.findAllComponents( codex.CdxButton );
313 | return buttons[ 1 ].trigger( 'click' ).then( () => {
314 | expect( survey.find( 'div.survey-footer' ).text() ).toContain( additionalInfo );
at Object.warn (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:41:13)
at Me (node_modules/@wikimedia/codex/dist/codex.cjs:1:6225)
at $t (node_modules/@wikimedia/codex/dist/codex.cjs:1:6448)
at setup (node_modules/@wikimedia/codex/dist/codex.cjs:1:7002)
at callWithErrorHandling (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:156:18)
at setupStatefulComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7277:25)
at setupComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7238:36)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5635:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5601:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5087:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5331:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5238:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5203:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5075:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5331:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5238:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5203:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5075:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5331:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5238:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5203:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5075:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5331:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5238:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5203:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5075:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5744:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:182:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5850:51)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5858:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5648:5)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5601:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5087:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5744:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:182:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5850:51)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5858:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5648:5)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5601:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5087:11)
at render (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6368:7)
at mount (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3837:13)
at Object.app.mount (node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.js:1396:19)
at Object.mount (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:7919:18)
at Object.<anonymous> (tests/jest/QuickSurvey.test.js:311:32)
console.warn
[Vue warn]: CdxButton: Icon-only buttons require one of the following attributes: aria-label or aria-hidden. See documentation at https://doc.wikimedia.org/codex/latest/components/demos/button.html#icon-only-button
at <CdxButton weight="quiet" onClick=fn<bound dismissAndDestroy> >
at <QuickSurvey layout="multiple-answer" name="survey-multi" answers= [
{ key: 'A', label: 'Chinese' },
{ key: 'C', label: 'English' },
{ key: 'B', label: 'French' }
] ... >
at <VTUROOT>
339 |
340 | it( 'Supports submitting one answer', () => {
> 341 | const survey = VueTestUtils.mount( QuickSurvey, MULTI_ANSWER_SURVEY );
| ^
342 |
343 | const checkboxes = survey.findAll( 'input[type="checkbox"]' );
344 | const submitButton = survey.findAllComponents( codex.CdxButton )[ 1 ];
at Object.warn (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:41:13)
at Me (node_modules/@wikimedia/codex/dist/codex.cjs:1:6225)
at $t (node_modules/@wikimedia/codex/dist/codex.cjs:1:6448)
at setup (node_modules/@wikimedia/codex/dist/codex.cjs:1:7002)
at callWithErrorHandling (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:156:18)
at setupStatefulComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7277:25)
at setupComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7238:36)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5635:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5601:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5087:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5331:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5238:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5203:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5075:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5331:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5238:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5203:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5075:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5331:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5238:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5203:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5075:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5331:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5238:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5203:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5075:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5744:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:182:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5850:51)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5858:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5648:5)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5601:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5087:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5744:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:182:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5850:51)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5858:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5648:5)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5601:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5087:11)
at render (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6368:7)
at mount (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3837:13)
at Object.app.mount (node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.js:1396:19)
at Object.mount (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:7919:18)
at Object.<anonymous> (tests/jest/QuickSurvey.test.js:341:32)
PASS tests/jest/render.test.js
● Console
console.warn
[Vue warn]: CdxButton: Icon-only buttons require one of the following attributes: aria-label or aria-hidden. See documentation at https://doc.wikimedia.org/codex/latest/components/demos/button.html#icon-only-button
at <CdxButton weight="quiet" onClick=fn<bound dismissAndDestroy> >
at <QuickSurvey onLogEvent=fn<mockConstructor> onDismiss=fn onDestroy=fn<onDestroy> ... >
at <App>
96 | panel.removeAttribute( 'title' );
97 | panel.innerHTML = '';
> 98 | vm.mount( panel );
| ^
99 | return deferred;
100 | }
101 |
at Object.warn (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:41:13)
at Me (node_modules/@wikimedia/codex/dist/codex.cjs:1:6225)
at $t (node_modules/@wikimedia/codex/dist/codex.cjs:1:6448)
at setup (node_modules/@wikimedia/codex/dist/codex.cjs:1:7002)
at callWithErrorHandling (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:156:18)
at setupStatefulComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7277:25)
at setupComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7238:36)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5635:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5601:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5087:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5331:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5238:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5203:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5075:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5331:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5238:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5203:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5075:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5331:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5238:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5203:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5075:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5331:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5238:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5203:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5075:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5744:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:182:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5850:51)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5858:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5648:5)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5601:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5087:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5744:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:182:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5850:51)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5858:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5648:5)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5601:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5087:11)
at render (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6368:7)
at mount (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3837:13)
at Object.mount (node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.js:1396:19)
at Object.render (resources/ext.quicksurveys.lib/vue/render.js:98:5)
at Object.<anonymous> (tests/jest/render.test.js:22:14)
console.warn
[Vue warn]: CdxButton: Icon-only buttons require one of the following attributes: aria-label or aria-hidden. See documentation at https://doc.wikimedia.org/codex/latest/components/demos/button.html#icon-only-button
at <CdxButton weight="quiet" onClick=fn<bound dismissAndDestroy> >
at <QuickSurvey onLogEvent=fn<mockConstructor> onDismiss=fn onDestroy=fn<onDestroy> ... >
at <App>
96 | panel.removeAttribute( 'title' );
97 | panel.innerHTML = '';
> 98 | vm.mount( panel );
| ^
99 | return deferred;
100 | }
101 |
at Object.warn (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:41:13)
at Me (node_modules/@wikimedia/codex/dist/codex.cjs:1:6225)
at $t (node_modules/@wikimedia/codex/dist/codex.cjs:1:6448)
at setup (node_modules/@wikimedia/codex/dist/codex.cjs:1:7002)
at callWithErrorHandling (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:156:18)
at setupStatefulComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7277:25)
at setupComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7238:36)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5635:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5601:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5087:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5331:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5238:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5203:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5075:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5331:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5238:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5203:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5075:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5331:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5238:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5203:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5075:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5331:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5238:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5203:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5075:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5744:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:182:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5850:51)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5858:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5648:5)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5601:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5087:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5744:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:182:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5850:51)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5858:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5648:5)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5601:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5087:11)
at render (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6368:7)
at mount (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3837:13)
at Object.mount (node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.js:1396:19)
at Object.render (resources/ext.quicksurveys.lib/vue/render.js:98:5)
at Object.<anonymous> (tests/jest/render.test.js:46:14)
console.warn
[Vue warn]: CdxButton: Icon-only buttons require one of the following attributes: aria-label or aria-hidden. See documentation at https://doc.wikimedia.org/codex/latest/components/demos/button.html#icon-only-button
at <CdxButton weight="quiet" onClick=fn<bound dismissAndDestroy> >
at <QuickSurvey onLogEvent=fn<mockConstructor> onDismiss=fn onDestroy=fn<onDestroy> ... >
at <App>
96 | panel.removeAttribute( 'title' );
97 | panel.innerHTML = '';
> 98 | vm.mount( panel );
| ^
99 | return deferred;
100 | }
101 |
at Object.warn (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:41:13)
at Me (node_modules/@wikimedia/codex/dist/codex.cjs:1:6225)
at $t (node_modules/@wikimedia/codex/dist/codex.cjs:1:6448)
at setup (node_modules/@wikimedia/codex/dist/codex.cjs:1:7002)
at callWithErrorHandling (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:156:18)
at setupStatefulComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7277:25)
at setupComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7238:36)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5635:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5601:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5087:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5331:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5238:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5203:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5075:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5331:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5238:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5203:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5075:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5331:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5238:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5203:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5075:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5331:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5238:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5203:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5075:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5744:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:182:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5850:51)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5858:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5648:5)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5601:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5087:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5744:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:182:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5850:51)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5858:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5648:5)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5601:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5087:11)
at render (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6368:7)
at mount (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3837:13)
at Object.mount (node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.js:1396:19)
at Object.render (resources/ext.quicksurveys.lib/vue/render.js:98:5)
at Object.<anonymous> (tests/jest/render.test.js:68:14)
console.warn
[Vue warn]: CdxButton: Icon-only buttons require one of the following attributes: aria-label or aria-hidden. See documentation at https://doc.wikimedia.org/codex/latest/components/demos/button.html#icon-only-button
at <CdxButton weight="quiet" onClick=fn<bound dismissAndDestroy> >
at <QuickSurvey onLogEvent=fn<mockConstructor> onDismiss=fn onDestroy=fn<onDestroy> ... >
at <App>
96 | panel.removeAttribute( 'title' );
97 | panel.innerHTML = '';
> 98 | vm.mount( panel );
| ^
99 | return deferred;
100 | }
101 |
at Object.warn (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:41:13)
at Me (node_modules/@wikimedia/codex/dist/codex.cjs:1:6225)
at $t (node_modules/@wikimedia/codex/dist/codex.cjs:1:6448)
at setup (node_modules/@wikimedia/codex/dist/codex.cjs:1:7002)
at callWithErrorHandling (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:156:18)
at setupStatefulComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7277:25)
at setupComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7238:36)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5635:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5601:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5087:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5331:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5238:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5203:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5075:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5331:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5238:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5203:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5075:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5331:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5238:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5203:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5075:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5331:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5238:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5203:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5075:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5744:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:182:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5850:51)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5858:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5648:5)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5601:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5087:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5744:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:182:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5850:51)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5858:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5648:5)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5601:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5087:11)
at render (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6368:7)
at mount (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3837:13)
at Object.mount (node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.js:1396:19)
at Object.render (resources/ext.quicksurveys.lib/vue/render.js:98:5)
at Object.<anonymous> (tests/jest/render.test.js:90:14)
console.warn
[Vue warn]: CdxButton: Icon-only buttons require one of the following attributes: aria-label or aria-hidden. See documentation at https://doc.wikimedia.org/codex/latest/components/demos/button.html#icon-only-button
at <CdxButton weight="quiet" onClick=fn<bound dismissAndDestroy> >
at <QuickSurvey onLogEvent=fn<mockConstructor> onDismiss=fn onDestroy=fn<onDestroy> ... >
at <App>
96 | panel.removeAttribute( 'title' );
97 | panel.innerHTML = '';
> 98 | vm.mount( panel );
| ^
99 | return deferred;
100 | }
101 |
at Object.warn (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:41:13)
at Me (node_modules/@wikimedia/codex/dist/codex.cjs:1:6225)
at $t (node_modules/@wikimedia/codex/dist/codex.cjs:1:6448)
at setup (node_modules/@wikimedia/codex/dist/codex.cjs:1:7002)
at callWithErrorHandling (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:156:18)
at setupStatefulComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7277:25)
at setupComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7238:36)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5635:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5601:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5087:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5331:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5238:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5203:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5075:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5331:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5238:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5203:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5075:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5331:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5238:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5203:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5075:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5331:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5238:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5203:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5075:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5744:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:182:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5850:51)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5858:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5648:5)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5601:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5087:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5744:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:182:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5850:51)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5858:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5648:5)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5601:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5087:11)
at render (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6368:7)
at mount (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3837:13)
at Object.mount (node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.js:1396:19)
at Object.render (resources/ext.quicksurveys.lib/vue/render.js:98:5)
at Object.<anonymous> (tests/jest/render.test.js:116:14)
Test Suites: 2 passed, 2 total
Tests: 19 passed, 19 total
Snapshots: 0 total
Time: 5.264 s
Ran all test suites.
--- stdout ---
> test
> npm run lint && npm run test:unit
> lint
> npm -s run lint:js && npm run -s lint:styles && npm -s run lint:i18n
/src/repo/resources/ext.quicksurveys.lib/vue/QuickSurvey.vue
318:16 warning The "logEvent" event has been triggered but not declared on `emits` option vue/require-explicit-emits
322:17 warning The "dismiss" event has been triggered but not declared on `emits` option vue/require-explicit-emits
330:16 warning The "dismiss" event has been triggered but not declared on `emits` option vue/require-explicit-emits
331:16 warning The "destroy" event has been triggered but not declared on `emits` option vue/require-explicit-emits
/src/repo/resources/ext.quicksurveys.lib/vue/render.js
62:6 warning Unused eslint-disable directive (no problems were reported from 'mediawiki/msg-doc')
64:6 warning Unused eslint-disable directive (no problems were reported from 'mediawiki/msg-doc')
70:7 warning Unused eslint-disable directive (no problems were reported from 'mediawiki/msg-doc')
73:6 warning Unused eslint-disable directive (no problems were reported from 'mediawiki/msg-doc')
78:8 warning Unused eslint-disable directive (no problems were reported from 'mediawiki/msg-doc')
84:6 warning Unused eslint-disable directive (no problems were reported from 'mediawiki/msg-doc')
✖ 10 problems (0 errors, 10 warnings)
0 errors and 6 warnings potentially fixable with the `--fix` option.
Checked 1 message directory.
> test:unit
> jest --testRegex tests/jest/*.test.js
----------------------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------------------|---------|----------|---------|---------|-------------------
All files | 95.41 | 92.3 | 96.96 | 95.41 |
QuickSurvey.vue | 100 | 100 | 100 | 100 |
QuickSurveyLogger.js | 81.81 | 50 | 100 | 81.81 | 21,41
render.js | 100 | 95.45 | 100 | 100 | 60
utils.js | 78.57 | 50 | 66.66 | 78.57 | 10-11,28
----------------------|---------|----------|---------|---------|-------------------
--- end ---
{}
{}
$ package-lock-lint package-lock.json
--- stdout ---
Checking package-lock.json
--- end ---
[DNM] there are no updates
$ git add .
--- stdout ---
--- end ---
$ git commit -F /tmp/tmp8reldqz8
--- stdout ---
On branch REL1_42
Your branch is up to date with 'origin/REL1_42'.
nothing to commit, working tree clean
--- end ---