$ date
--- stdout ---
Sun Dec 1 11:12:57 UTC 2024
--- end ---
$ git clone file:///srv/git/mediawiki-extensions-QuickSurveys.git repo --depth=1 -b REL1_43
--- 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_43
--- stdout ---
e0a76c01b3d6d6c6d5237df9a5e36cc667e000c9 refs/heads/REL1_43
--- 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": 978,
"optional": 2,
"peer": 1,
"peerOptional": 0,
"total": 978
}
}
}
--- 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: 38 installs, 0 updates, 0 removals
- Locking composer/pcre (3.3.2)
- Locking composer/semver (3.4.3)
- 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 (v45.0.0)
- Locking mediawiki/mediawiki-phan-config (0.14.0)
- Locking mediawiki/minus-x (1.1.3)
- 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.4.0)
- Locking phpcsstandards/phpcsextra (1.2.1)
- Locking phpcsstandards/phpcsutils (1.0.12)
- 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 (3.0.2)
- Locking sabre/event (5.1.7)
- Locking squizlabs/php_codesniffer (3.10.3)
- Locking symfony/console (v7.2.0)
- Locking symfony/deprecation-contracts (v3.5.1)
- 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-php80 (v1.31.0)
- Locking symfony/service-contracts (v3.5.1)
- Locking symfony/string (v7.2.0)
- 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: 38 installs, 0 updates, 0 removals
0 [>---------------------------] 0 [->--------------------------]
- Installing squizlabs/php_codesniffer (3.10.3): 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.12): Extracting archive
- Installing phpcsstandards/phpcsextra (1.2.1): 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.3): Extracting archive
- Installing mediawiki/mediawiki-codesniffer (v45.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 (v7.2.0): Extracting archive
- Installing symfony/deprecation-contracts (v3.5.1): Extracting archive
- Installing psr/container (2.0.2): Extracting archive
- Installing symfony/service-contracts (v3.5.1): Extracting archive
- Installing symfony/console (v7.2.0): 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 (3.0.2): 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.3): 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.4.0): Extracting archive
0/36 [>---------------------------] 0%
20/36 [===============>------------] 55%
35/36 [===========================>] 97%
36/36 [============================] 100%
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": 978,
"optional": 2,
"peer": 1,
"peerOptional": 0,
"total": 978
}
}
}
--- 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
--- stdout ---
{
"added": 978,
"removed": 0,
"changed": 0,
"audited": 979,
"funding": 107,
"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": 978,
"optional": 2,
"peer": 1,
"peerOptional": 0,
"total": 978
}
}
}
}
--- end ---
{"added": 978, "removed": 0, "changed": 0, "audited": 979, "funding": 107, "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": 978, "optional": 2, "peer": 1, "peerOptional": 0, "total": 978}}}}
$ /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 deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
npm WARN deprecated @babel/plugin-proposal-unicode-property-regex@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-unicode-property-regex instead.
npm WARN deprecated @babel/plugin-proposal-private-methods@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-private-methods instead.
npm WARN deprecated @babel/plugin-proposal-optional-catch-binding@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-catch-binding instead.
npm WARN deprecated @babel/plugin-proposal-nullish-coalescing-operator@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-nullish-coalescing-operator instead.
npm WARN deprecated @babel/plugin-proposal-export-namespace-from@7.18.9: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-export-namespace-from instead.
npm WARN deprecated @babel/plugin-proposal-dynamic-import@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-dynamic-import instead.
npm WARN deprecated @babel/plugin-proposal-json-strings@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-json-strings instead.
npm WARN deprecated @babel/plugin-proposal-numeric-separator@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-numeric-separator instead.
npm WARN deprecated @babel/plugin-proposal-class-properties@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead.
npm WARN deprecated @babel/plugin-proposal-logical-assignment-operators@7.20.7: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-logical-assignment-operators instead.
npm WARN deprecated @babel/plugin-proposal-class-static-block@7.21.0: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-static-block instead.
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
npm WARN deprecated abab@2.0.6: Use your platform's native atob() and btoa() methods instead
npm WARN deprecated @babel/plugin-proposal-private-property-in-object@7.21.11: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-private-property-in-object instead.
npm WARN deprecated @babel/plugin-proposal-optional-chaining@7.21.0: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-chaining instead.
npm WARN deprecated @babel/plugin-proposal-async-generator-functions@7.20.7: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-async-generator-functions instead.
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated glob@7.2.0: Glob versions prior to v9 are no longer supported
npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated @babel/plugin-proposal-object-rest-spread@7.20.7: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-object-rest-spread instead.
npm WARN deprecated domexception@2.0.1: Use your platform's native DOMException instead
npm WARN deprecated w3c-hr-time@1.0.2: Use your platform's native performance.now() and performance.timeOrigin.
npm WARN deprecated domexception@4.0.0: Use your platform's native DOMException instead
npm WARN deprecated sinon@12.0.1: 16.1.1
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 977 packages, and audited 978 packages in 10s
107 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 deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
npm WARN deprecated @babel/plugin-proposal-optional-catch-binding@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-catch-binding instead.
npm WARN deprecated @babel/plugin-proposal-unicode-property-regex@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-unicode-property-regex instead.
npm WARN deprecated @babel/plugin-proposal-private-methods@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-private-methods instead.
npm WARN deprecated @babel/plugin-proposal-nullish-coalescing-operator@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-nullish-coalescing-operator instead.
npm WARN deprecated @babel/plugin-proposal-numeric-separator@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-numeric-separator instead.
npm WARN deprecated @babel/plugin-proposal-dynamic-import@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-dynamic-import instead.
npm WARN deprecated @babel/plugin-proposal-export-namespace-from@7.18.9: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-export-namespace-from instead.
npm WARN deprecated @babel/plugin-proposal-class-properties@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead.
npm WARN deprecated @babel/plugin-proposal-json-strings@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-json-strings instead.
npm WARN deprecated @babel/plugin-proposal-class-static-block@7.21.0: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-static-block instead.
npm WARN deprecated @babel/plugin-proposal-logical-assignment-operators@7.20.7: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-logical-assignment-operators instead.
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
npm WARN deprecated abab@2.0.6: Use your platform's native atob() and btoa() methods instead
npm WARN deprecated @babel/plugin-proposal-private-property-in-object@7.21.11: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-private-property-in-object instead.
npm WARN deprecated @babel/plugin-proposal-optional-chaining@7.21.0: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-chaining instead.
npm WARN deprecated @babel/plugin-proposal-async-generator-functions@7.20.7: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-async-generator-functions instead.
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated glob@7.2.0: Glob versions prior to v9 are no longer supported
npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated @babel/plugin-proposal-object-rest-spread@7.20.7: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-object-rest-spread instead.
npm WARN deprecated domexception@2.0.1: Use your platform's native DOMException instead
npm WARN deprecated w3c-hr-time@1.0.2: Use your platform's native performance.now() and performance.timeOrigin.
npm WARN deprecated domexception@4.0.0: Use your platform's native DOMException instead
npm WARN deprecated sinon@12.0.1: 16.1.1
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 977 packages, and audited 978 packages in 14s
107 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/utils.test.js
PASS tests/jest/render.test.js
● Console
console.warn
[Vue warn]: Invalid prop: type check failed for prop "thankYouMessage". Expected String with value "undefined", got Undefined
at <QuickSurvey onLogEvent=fn<mockConstructor> onDismiss=fn onDestroy=fn<onDestroy> ... >
at <App>
74 | panel.removeAttribute( 'title' );
75 | panel.innerHTML = '';
> 76 | vm.mount( panel );
| ^
77 | return deferred;
78 | }
79 |
at warn$1 (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:49:13)
at validateProp (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4354:7)
at validateProps (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4326:5)
at initProps (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4031:5)
at setupComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7531:3)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5861:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5827:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5306:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5971:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:181:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6095:16)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6105:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5873:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5827:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5306:11)
at render (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6616:7)
at mount (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3930:13)
at Object.mount (node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.js:1477:19)
at Object.render (resources/ext.quicksurveys.lib/vue/render.js:76:5)
at Object.<anonymous> (tests/jest/render.test.js:19:69)
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>
74 | panel.removeAttribute( 'title' );
75 | panel.innerHTML = '';
> 76 | vm.mount( panel );
| ^
77 | return deferred;
78 | }
79 |
at Object.warn$1 [as warn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:49:13)
at qe (node_modules/@wikimedia/codex/dist/codex.cjs:1:6779)
at Kt (node_modules/@wikimedia/codex/dist/codex.cjs:1:7002)
at setup (node_modules/@wikimedia/codex/dist/codex.cjs:1:7566)
at callWithErrorHandling (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:195:19)
at setupStatefulComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7572:25)
at setupComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7533:36)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5861:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5827:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5306:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5971:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:181:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6095:16)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6105:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5873:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5827:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5306:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5971:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:181:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6095:16)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6105:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5873:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5827:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5306:11)
at render (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6616:7)
at mount (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3930:13)
at Object.mount (node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.js:1477:19)
at Object.render (resources/ext.quicksurveys.lib/vue/render.js:76:5)
at Object.<anonymous> (tests/jest/render.test.js:19:69)
console.warn
[Vue warn]: Invalid prop: type check failed for prop "thankYouMessage". Expected String with value "undefined", got Undefined
at <QuickSurvey onLogEvent=fn<mockConstructor> onDismiss=fn onDestroy=fn<onDestroy> ... >
at <App>
74 | panel.removeAttribute( 'title' );
75 | panel.innerHTML = '';
> 76 | vm.mount( panel );
| ^
77 | return deferred;
78 | }
79 |
at warn$1 (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:49:13)
at validateProp (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4354:7)
at validateProps (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4326:5)
at initProps (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4031:5)
at setupComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7531:3)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5861:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5827:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5306:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5971:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:181:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6095:16)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6105:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5873:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5827:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5306:11)
at render (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6616:7)
at mount (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3930:13)
at Object.mount (node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.js:1477:19)
at Object.render (resources/ext.quicksurveys.lib/vue/render.js:76:5)
at Object.<anonymous> (tests/jest/render.test.js:45:44)
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>
74 | panel.removeAttribute( 'title' );
75 | panel.innerHTML = '';
> 76 | vm.mount( panel );
| ^
77 | return deferred;
78 | }
79 |
at Object.warn$1 [as warn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:49:13)
at qe (node_modules/@wikimedia/codex/dist/codex.cjs:1:6779)
at Kt (node_modules/@wikimedia/codex/dist/codex.cjs:1:7002)
at setup (node_modules/@wikimedia/codex/dist/codex.cjs:1:7566)
at callWithErrorHandling (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:195:19)
at setupStatefulComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7572:25)
at setupComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7533:36)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5861:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5827:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5306:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5971:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:181:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6095:16)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6105:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5873:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5827:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5306:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5971:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:181:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6095:16)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6105:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5873:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5827:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5306:11)
at render (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6616:7)
at mount (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3930:13)
at Object.mount (node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.js:1477:19)
at Object.render (resources/ext.quicksurveys.lib/vue/render.js:76:5)
at Object.<anonymous> (tests/jest/render.test.js:45:44)
console.warn
[Vue warn]: Invalid prop: type check failed for prop "thankYouMessage". Expected String with value "undefined", got Undefined
at <QuickSurvey onLogEvent=fn<mockConstructor> onDismiss=fn onDestroy=fn<onDestroy> ... >
at <App>
74 | panel.removeAttribute( 'title' );
75 | panel.innerHTML = '';
> 76 | vm.mount( panel );
| ^
77 | return deferred;
78 | }
79 |
at warn$1 (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:49:13)
at validateProp (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4354:7)
at validateProps (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4326:5)
at initProps (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4031:5)
at setupComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7531:3)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5861:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5827:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5306:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5971:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:181:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6095:16)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6105:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5873:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5827:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5306:11)
at render (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6616:7)
at mount (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3930:13)
at Object.mount (node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.js:1477:19)
at Object.render (resources/ext.quicksurveys.lib/vue/render.js:76:5)
at Object.<anonymous> (tests/jest/render.test.js:69:47)
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>
74 | panel.removeAttribute( 'title' );
75 | panel.innerHTML = '';
> 76 | vm.mount( panel );
| ^
77 | return deferred;
78 | }
79 |
at Object.warn$1 [as warn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:49:13)
at qe (node_modules/@wikimedia/codex/dist/codex.cjs:1:6779)
at Kt (node_modules/@wikimedia/codex/dist/codex.cjs:1:7002)
at setup (node_modules/@wikimedia/codex/dist/codex.cjs:1:7566)
at callWithErrorHandling (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:195:19)
at setupStatefulComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7572:25)
at setupComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7533:36)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5861:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5827:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5306:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5971:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:181:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6095:16)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6105:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5873:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5827:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5306:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5971:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:181:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6095:16)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6105:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5873:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5827:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5306:11)
at render (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6616:7)
at mount (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3930:13)
at Object.mount (node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.js:1477:19)
at Object.render (resources/ext.quicksurveys.lib/vue/render.js:76:5)
at Object.<anonymous> (tests/jest/render.test.js:69:47)
console.warn
[Vue warn]: Invalid prop: type check failed for prop "thankYouMessage". Expected String with value "undefined", got Undefined
at <QuickSurvey onLogEvent=fn<mockConstructor> onDismiss=fn onDestroy=fn<onDestroy> ... >
at <App>
74 | panel.removeAttribute( 'title' );
75 | panel.innerHTML = '';
> 76 | vm.mount( panel );
| ^
77 | return deferred;
78 | }
79 |
at warn$1 (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:49:13)
at validateProp (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4354:7)
at validateProps (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4326:5)
at initProps (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4031:5)
at setupComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7531:3)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5861:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5827:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5306:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5971:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:181:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6095:16)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6105:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5873:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5827:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5306:11)
at render (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6616:7)
at mount (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3930:13)
at Object.mount (node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.js:1477:19)
at Object.render (resources/ext.quicksurveys.lib/vue/render.js:76:5)
at Object.<anonymous> (tests/jest/render.test.js:92:52)
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>
74 | panel.removeAttribute( 'title' );
75 | panel.innerHTML = '';
> 76 | vm.mount( panel );
| ^
77 | return deferred;
78 | }
79 |
at Object.warn$1 [as warn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:49:13)
at qe (node_modules/@wikimedia/codex/dist/codex.cjs:1:6779)
at Kt (node_modules/@wikimedia/codex/dist/codex.cjs:1:7002)
at setup (node_modules/@wikimedia/codex/dist/codex.cjs:1:7566)
at callWithErrorHandling (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:195:19)
at setupStatefulComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7572:25)
at setupComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7533:36)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5861:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5827:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5306:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5971:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:181:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6095:16)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6105:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5873:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5827:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5306:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5971:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:181:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6095:16)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6105:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5873:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5827:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5306:11)
at render (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6616:7)
at mount (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3930:13)
at Object.mount (node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.js:1477:19)
at Object.render (resources/ext.quicksurveys.lib/vue/render.js:76:5)
at Object.<anonymous> (tests/jest/render.test.js:92:52)
console.warn
[Vue warn]: Invalid prop: type check failed for prop "thankYouMessage". Expected String with value "undefined", got Undefined
at <QuickSurvey onLogEvent=fn<mockConstructor> onDismiss=fn onDestroy=fn<onDestroy> ... >
at <App>
74 | panel.removeAttribute( 'title' );
75 | panel.innerHTML = '';
> 76 | vm.mount( panel );
| ^
77 | return deferred;
78 | }
79 |
at warn$1 (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:49:13)
at validateProp (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4354:7)
at validateProps (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4326:5)
at initProps (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4031:5)
at setupComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7531:3)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5861:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5827:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5306:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5971:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:181:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6095:16)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6105:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5873:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5827:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5306:11)
at render (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6616:7)
at mount (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3930:13)
at Object.mount (node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.js:1477:19)
at Object.render (resources/ext.quicksurveys.lib/vue/render.js:76:5)
at Object.<anonymous> (tests/jest/render.test.js:117: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>
74 | panel.removeAttribute( 'title' );
75 | panel.innerHTML = '';
> 76 | vm.mount( panel );
| ^
77 | return deferred;
78 | }
79 |
at Object.warn$1 [as warn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:49:13)
at qe (node_modules/@wikimedia/codex/dist/codex.cjs:1:6779)
at Kt (node_modules/@wikimedia/codex/dist/codex.cjs:1:7002)
at setup (node_modules/@wikimedia/codex/dist/codex.cjs:1:7566)
at callWithErrorHandling (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:195:19)
at setupStatefulComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7572:25)
at setupComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7533:36)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5861:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5827:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5306:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5971:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:181:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6095:16)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6105:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5873:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5827:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5306:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5971:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:181:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6095:16)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6105:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5873:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5827:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5306:11)
at render (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6616:7)
at mount (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3930:13)
at Object.mount (node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.js:1477:19)
at Object.render (resources/ext.quicksurveys.lib/vue/render.js:76:5)
at Object.<anonymous> (tests/jest/render.test.js:117:14)
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" thankYouMessage="thanks!" surveySessionToken="ss" ... >
at <VTUROOT>
25 |
26 | it( 'renders with required parameters', () => {
> 27 | const survey = VueTestUtils.mount( QuickSurvey, {
| ^
28 | propsData: {
29 | name: 'survey',
30 | thankYouMessage: 'thanks!',
at Object.warn$1 [as warn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:49:13)
at qe (node_modules/@wikimedia/codex/dist/codex.cjs:1:6779)
at Kt (node_modules/@wikimedia/codex/dist/codex.cjs:1:7002)
at setup (node_modules/@wikimedia/codex/dist/codex.cjs:1:7566)
at callWithErrorHandling (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:195:19)
at setupStatefulComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7572:25)
at setupComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7533:36)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5861:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5827:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5306:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5971:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:181:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6095:16)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6105:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5873:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5827:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5306:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5971:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:181:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6095:16)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6105:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5873:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5827:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5306:11)
at render (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6616:7)
at mount (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3930:13)
at Object.app.mount (node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.js:1477: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" thankYouMessage="thanks!" surveySessionToken="ss" ... >
at <VTUROOT>
52 |
53 | it( 'clicking the close button dismisses and removes survey', async () => {
> 54 | const survey = VueTestUtils.mount( QuickSurvey, {
| ^
55 | propsData: {
56 | name: 'survey',
57 | thankYouMessage: 'thanks!',
at Object.warn$1 [as warn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:49:13)
at qe (node_modules/@wikimedia/codex/dist/codex.cjs:1:6779)
at Kt (node_modules/@wikimedia/codex/dist/codex.cjs:1:7002)
at setup (node_modules/@wikimedia/codex/dist/codex.cjs:1:7566)
at callWithErrorHandling (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:195:19)
at setupStatefulComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7572:25)
at setupComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7533:36)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5861:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5827:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5306:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5971:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:181:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6095:16)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6105:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5873:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5827:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5306:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5971:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:181:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6095:16)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6105:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5873:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5827:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5306:11)
at render (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6616:7)
at mount (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3930:13)
at Object.app.mount (node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.js:1477: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:54: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" thankYouMessage="thanks!" surveySessionToken="ss" ... >
at <VTUROOT>
76 | describe( 'ExternalSurvey', () => {
77 | it( 'renders two external survey buttons with externalLink', () => {
> 78 | const survey = VueTestUtils.mount( QuickSurvey, {
| ^
79 | propsData: {
80 | name: 'survey',
81 | thankYouMessage: 'thanks!',
at Object.warn$1 [as warn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:49:13)
at qe (node_modules/@wikimedia/codex/dist/codex.cjs:1:6779)
at Kt (node_modules/@wikimedia/codex/dist/codex.cjs:1:7002)
at setup (node_modules/@wikimedia/codex/dist/codex.cjs:1:7566)
at callWithErrorHandling (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:195:19)
at setupStatefulComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7572:25)
at setupComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7533:36)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5861:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5827:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5306:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5971:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:181:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6095:16)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6105:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5873:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5827:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5306:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5971:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:181:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6095:16)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6105:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5873:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5827:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5306:11)
at render (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6616:7)
at mount (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3930:13)
at Object.app.mount (node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.js:1477: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:78: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!" surveySessionToken="ss" ... >
at <VTUROOT>
100 |
101 | it( 'clicking dismiss button removes survey', async () => {
> 102 | const survey = VueTestUtils.mount( QuickSurvey, {
| ^
103 | propsData: {
104 | name: 'survey',
105 | thankYouMessage: 'thanks!',
at Object.warn$1 [as warn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:49:13)
at qe (node_modules/@wikimedia/codex/dist/codex.cjs:1:6779)
at Kt (node_modules/@wikimedia/codex/dist/codex.cjs:1:7002)
at setup (node_modules/@wikimedia/codex/dist/codex.cjs:1:7566)
at callWithErrorHandling (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:195:19)
at setupStatefulComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7572:25)
at setupComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7533:36)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5861:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5827:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5306:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5971:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:181:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6095:16)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6105:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5873:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5827:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5306:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5971:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:181:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6095:16)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6105:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5873:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5827:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5306:11)
at render (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6616:7)
at mount (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3930:13)
at Object.app.mount (node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.js:1477: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:102: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!" surveySessionToken="ss" ... >
at <VTUROOT>
125 |
126 | it( 'Opens window when yes clicked for external surveys', async () => {
> 127 | const survey = VueTestUtils.mount( QuickSurvey, {
| ^
128 | propsData: {
129 | name: 'survey',
130 | thankYouMessage: 'thanks!',
at Object.warn$1 [as warn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:49:13)
at qe (node_modules/@wikimedia/codex/dist/codex.cjs:1:6779)
at Kt (node_modules/@wikimedia/codex/dist/codex.cjs:1:7002)
at setup (node_modules/@wikimedia/codex/dist/codex.cjs:1:7566)
at callWithErrorHandling (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:195:19)
at setupStatefulComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7572:25)
at setupComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7533:36)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5861:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5827:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5306:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5971:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:181:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6095:16)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6105:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5873:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5827:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5306:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5971:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:181:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6095:16)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6105:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5873:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5827:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5306:11)
at render (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6616:7)
at mount (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3930:13)
at Object.app.mount (node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.js:1477: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:127: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 footer="privacy policy instead of additional info" name="survey" thankYouMessage="thanks!" ... >
at <VTUROOT>
151 | async () => {
152 | const privacyPolicy = 'privacy policy instead of additional info';
> 153 | const survey = VueTestUtils.mount( QuickSurvey, {
| ^
154 | propsData: {
155 | footer: privacyPolicy,
156 | name: 'survey',
at Object.warn$1 [as warn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:49:13)
at qe (node_modules/@wikimedia/codex/dist/codex.cjs:1:6779)
at Kt (node_modules/@wikimedia/codex/dist/codex.cjs:1:7002)
at setup (node_modules/@wikimedia/codex/dist/codex.cjs:1:7566)
at callWithErrorHandling (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:195:19)
at setupStatefulComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7572:25)
at setupComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7533:36)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5861:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5827:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5306:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5971:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:181:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6095:16)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6105:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5873:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5827:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5306:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5971:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:181:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6095:16)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6105:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5873:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5827:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5306:11)
at render (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6616:7)
at mount (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3930:13)
at Object.app.mount (node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.js:1477: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:153:33)
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 additionalInfo="additional info instead of privacy policy" footer="privacy policy instead of additional info" name="survey" ... >
at <VTUROOT>
180 | const additionalInfo = 'additional info instead of privacy policy';
181 | const privacyPolicy = 'privacy policy instead of additional info';
> 182 | const survey = VueTestUtils.mount( QuickSurvey, {
| ^
183 | propsData: {
184 | additionalInfo: additionalInfo,
185 | footer: privacyPolicy,
at Object.warn$1 [as warn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:49:13)
at qe (node_modules/@wikimedia/codex/dist/codex.cjs:1:6779)
at Kt (node_modules/@wikimedia/codex/dist/codex.cjs:1:7002)
at setup (node_modules/@wikimedia/codex/dist/codex.cjs:1:7566)
at callWithErrorHandling (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:195:19)
at setupStatefulComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7572:25)
at setupComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7533:36)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5861:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5827:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5306:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5971:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:181:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6095:16)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6105:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5873:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5827:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5306:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5971:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:181:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6095:16)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6105:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5873:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5827:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5306:11)
at render (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6616:7)
at mount (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3930:13)
at Object.app.mount (node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.js:1477: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:182:33)
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" footer="privacy policy instead of additional info" thankYouMessage="thank you come again" ... >
at <VTUROOT>
236 |
237 | it( 'requires an answer', async () => {
> 238 | const survey = VueTestUtils.mount( QuickSurvey, SINGLE_ANSWER_SURVEY );
| ^
239 | await survey.findAllComponents( codex.CdxButton )[ 1 ].trigger( 'click' );
240 | expect( window.alert.mock.calls.length ).toBe( 1 );
241 | } );
at Object.warn$1 [as warn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:49:13)
at qe (node_modules/@wikimedia/codex/dist/codex.cjs:1:6779)
at Kt (node_modules/@wikimedia/codex/dist/codex.cjs:1:7002)
at setup (node_modules/@wikimedia/codex/dist/codex.cjs:1:7566)
at callWithErrorHandling (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:195:19)
at setupStatefulComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7572:25)
at setupComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7533:36)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5861:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5827:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5306:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5971:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:181:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6095:16)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6105:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5873:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5827:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5306:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5971:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:181:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6095:16)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6105:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5873:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5827:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5306:11)
at render (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6616:7)
at mount (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3930:13)
at Object.app.mount (node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.js:1477: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:238: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" footer="privacy policy instead of additional info" thankYouMessage="thank you come again" ... >
at <VTUROOT>
242 |
243 | it( 'does not shuffle answers when clicked', async () => {
> 244 | const survey = VueTestUtils.mount( QuickSurvey, SINGLE_ANSWER_SURVEY );
| ^
245 |
246 | const buttons = survey.findAllComponents( codex.CdxRadio );
247 |
at Object.warn$1 [as warn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:49:13)
at qe (node_modules/@wikimedia/codex/dist/codex.cjs:1:6779)
at Kt (node_modules/@wikimedia/codex/dist/codex.cjs:1:7002)
at setup (node_modules/@wikimedia/codex/dist/codex.cjs:1:7566)
at callWithErrorHandling (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:195:19)
at setupStatefulComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7572:25)
at setupComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7533:36)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5861:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5827:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5306:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5971:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:181:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6095:16)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6105:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5873:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5827:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5306:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5971:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:181:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6095:16)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6105:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5873:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5827:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5306:11)
at render (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6616:7)
at mount (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3930:13)
at Object.app.mount (node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.js:1477: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:244: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" footer="privacy policy instead of additional info" thankYouMessage="thank you come again" ... >
at <VTUROOT>
261 | const props = Object.assign( {}, SINGLE_ANSWER_SURVEY );
262 | props.propsData.questions[ 0 ].shuffleAnswersDisplay = false;
> 263 | const survey = VueTestUtils.mount( QuickSurvey, props );
| ^
264 |
265 | const buttons = survey.findAllComponents( codex.CdxButton );
266 | const radioButtons = survey.findAllComponents( codex.CdxRadio );
at Object.warn$1 [as warn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:49:13)
at qe (node_modules/@wikimedia/codex/dist/codex.cjs:1:6779)
at Kt (node_modules/@wikimedia/codex/dist/codex.cjs:1:7002)
at setup (node_modules/@wikimedia/codex/dist/codex.cjs:1:7566)
at callWithErrorHandling (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:195:19)
at setupStatefulComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7572:25)
at setupComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7533:36)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5861:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5827:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5306:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5971:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:181:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6095:16)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6105:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5873:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5827:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5306:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5971:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:181:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6095:16)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6105:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5873:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5827:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5306:11)
at render (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6616:7)
at mount (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3930:13)
at Object.app.mount (node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.js:1477: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:263: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" footer="privacy policy instead of additional info" thankYouMessage="thank you come again" ... >
at <VTUROOT>
310 | it( 'displays privacy policy when completed if additional information is not defined',
311 | async () => {
> 312 | const survey = VueTestUtils.mount( QuickSurvey, SINGLE_ANSWER_SURVEY );
| ^
313 | const buttons = survey.findAllComponents( codex.CdxButton );
314 | await buttons[ 1 ].trigger( 'click' );
315 | expect( survey.find( 'div.survey-footer' ).text() ).toContain( privacyPolicy );
at Object.warn$1 [as warn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:49:13)
at qe (node_modules/@wikimedia/codex/dist/codex.cjs:1:6779)
at Kt (node_modules/@wikimedia/codex/dist/codex.cjs:1:7002)
at setup (node_modules/@wikimedia/codex/dist/codex.cjs:1:7566)
at callWithErrorHandling (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:195:19)
at setupStatefulComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7572:25)
at setupComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7533:36)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5861:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5827:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5306:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5971:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:181:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6095:16)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6105:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5873:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5827:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5306:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5971:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:181:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6095:16)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6105:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5873:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5827:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5306:11)
at render (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6616:7)
at mount (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3930:13)
at Object.app.mount (node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.js:1477: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:312:33)
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" footer="additional info instead of privacy policy" thankYouMessage="thank you come again" ... >
at <VTUROOT>
320 | async () => {
321 | SINGLE_ANSWER_SURVEY.propsData.footer = additionalInfo;
> 322 | const survey = VueTestUtils.mount( QuickSurvey, SINGLE_ANSWER_SURVEY );
| ^
323 | const buttons = survey.findAllComponents( codex.CdxButton );
324 | await buttons[ 1 ].trigger( 'click' );
325 | expect( survey.find( 'div.survey-footer' ).text() ).toContain( additionalInfo );
at Object.warn$1 [as warn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:49:13)
at qe (node_modules/@wikimedia/codex/dist/codex.cjs:1:6779)
at Kt (node_modules/@wikimedia/codex/dist/codex.cjs:1:7002)
at setup (node_modules/@wikimedia/codex/dist/codex.cjs:1:7566)
at callWithErrorHandling (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:195:19)
at setupStatefulComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7572:25)
at setupComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7533:36)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5861:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5827:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5306:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5971:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:181:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6095:16)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6105:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5873:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5827:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5306:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5971:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:181:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6095:16)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6105:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5873:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5827:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5306:11)
at render (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6616:7)
at mount (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3930:13)
at Object.app.mount (node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.js:1477: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:322:33)
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-multi" thankYouMessage="thank you come again" surveySessionToken="ss" ... >
at <VTUROOT>
353 |
354 | it( 'Supports submitting one answer', async () => {
> 355 | const survey = VueTestUtils.mount( QuickSurvey, MULTI_ANSWER_SURVEY );
| ^
356 |
357 | const checkboxes = survey.findAll( 'input[type="checkbox"]' );
358 | const submitButton = survey.findAllComponents( codex.CdxButton )[ 1 ];
at Object.warn$1 [as warn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:49:13)
at qe (node_modules/@wikimedia/codex/dist/codex.cjs:1:6779)
at Kt (node_modules/@wikimedia/codex/dist/codex.cjs:1:7002)
at setup (node_modules/@wikimedia/codex/dist/codex.cjs:1:7566)
at callWithErrorHandling (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:195:19)
at setupStatefulComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7572:25)
at setupComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7533:36)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5861:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5827:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5306:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5971:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:181:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6095:16)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6105:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5873:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5827:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5306:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5971:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:181:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6095:16)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6105:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5873:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5827:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5306:11)
at render (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6616:7)
at mount (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3930:13)
at Object.app.mount (node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.js:1477: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:355: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-multi" thankYouMessage="thank you come again" surveySessionToken="ss" ... >
at <VTUROOT>
372 |
373 | it( 'Supports free text input for checkbox', async () => {
> 374 | const survey = VueTestUtils.mount( QuickSurvey, MULTI_ANSWER_SURVEY );
| ^
375 | expect(
376 | survey.findAllComponents( codex.CdxTextInput ).length
377 | ).toBe( 0 );
at Object.warn$1 [as warn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:49:13)
at qe (node_modules/@wikimedia/codex/dist/codex.cjs:1:6779)
at Kt (node_modules/@wikimedia/codex/dist/codex.cjs:1:7002)
at setup (node_modules/@wikimedia/codex/dist/codex.cjs:1:7566)
at callWithErrorHandling (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:195:19)
at setupStatefulComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7572:25)
at setupComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7533:36)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5861:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5827:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5306:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5971:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:181:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6095:16)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6105:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5873:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5827:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5306:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5971:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:181:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6095:16)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6105:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5873:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5827:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5306:11)
at render (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6616:7)
at mount (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3930:13)
at Object.app.mount (node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.js:1477: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:374: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-multi-questions" footer="privacy policy instead of additional info" thankYouMessage="thank you come again" ... >
at <VTUROOT>
423 |
424 | it( 'Supports multiple questions in the same survey', async () => {
> 425 | const survey = VueTestUtils.mount( QuickSurvey, MULTIPLE_QUESTIONS_SURVEY );
| ^
426 |
427 | const buttons = survey.findAllComponents( codex.CdxButton );
428 | const radioButtons = survey.findAllComponents( codex.CdxRadio );
at Object.warn$1 [as warn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:49:13)
at qe (node_modules/@wikimedia/codex/dist/codex.cjs:1:6779)
at Kt (node_modules/@wikimedia/codex/dist/codex.cjs:1:7002)
at setup (node_modules/@wikimedia/codex/dist/codex.cjs:1:7566)
at callWithErrorHandling (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:195:19)
at setupStatefulComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7572:25)
at setupComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7533:36)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5861:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5827:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5306:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5971:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:181:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6095:16)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6105:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5873:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5827:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5306:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5971:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:181:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6095:16)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6105:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5873:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5827:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5306:11)
at render (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6616:7)
at mount (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3930:13)
at Object.app.mount (node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.js:1477: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:425: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-multi-questions" footer="privacy policy instead of additional info" thankYouMessage="thank you come again" ... >
at <VTUROOT>
478 | it( 'should display previous question when clicking on back button',
479 | async () => {
> 480 | const survey = VueTestUtils.mount( QuickSurvey, MULTIPLE_QUESTIONS_SURVEY );
| ^
481 | const radioButtons = survey.findAllComponents( codex.CdxRadio );
482 |
483 | // choose "maybe"
at Object.warn$1 [as warn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:49:13)
at qe (node_modules/@wikimedia/codex/dist/codex.cjs:1:6779)
at Kt (node_modules/@wikimedia/codex/dist/codex.cjs:1:7002)
at setup (node_modules/@wikimedia/codex/dist/codex.cjs:1:7566)
at callWithErrorHandling (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:195:19)
at setupStatefulComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7572:25)
at setupComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7533:36)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5861:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5827:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5306:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5971:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:181:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6095:16)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6105:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5873:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5827:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5306:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5971:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:181:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6095:16)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6105:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5873:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5827:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5306:11)
at render (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6616:7)
at mount (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3930:13)
at Object.app.mount (node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.js:1477: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:480:33)
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-single" thankYouMessage="thank you come again" thankYouDescription="description thank you message" ... >
at <VTUROOT>
527 |
528 | it( 'Should contain thank you description text', async () => {
> 529 | const survey = VueTestUtils.mount( QuickSurvey, SINGLE_ANSWER_SURVEY );
| ^
530 |
531 | // initially, the survey should NOT contain the thank you description
532 | expect( survey.text() ).not.toContain( 'description thank you message' );
at Object.warn$1 [as warn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:49:13)
at qe (node_modules/@wikimedia/codex/dist/codex.cjs:1:6779)
at Kt (node_modules/@wikimedia/codex/dist/codex.cjs:1:7002)
at setup (node_modules/@wikimedia/codex/dist/codex.cjs:1:7566)
at callWithErrorHandling (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:195:19)
at setupStatefulComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7572:25)
at setupComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7533:36)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5861:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5827:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5306:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5554:7)
at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5461:7)
at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5426:7)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5294:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5971:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:181:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6095:16)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6105:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5873:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5827:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5306:11)
at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5971:11)
at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:181:19)
at instance.update (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6095:16)
at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6105:5)
at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5873:7)
at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5827:9)
at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5306:11)
at render (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6616:7)
at mount (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3930:13)
at Object.app.mount (node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.js:1477: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:529:32)
Test Suites: 3 passed, 3 total
Tests: 33 passed, 33 total
Snapshots: 0 total
Time: 5.263 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
355:1 warning This line has a length of 132. Maximum allowed is 100 max-len
/src/repo/tests/qunit/ext.quicksurveys.lib/lib.test.js
334:1 warning This line has a length of 145. Maximum allowed is 100 max-len
336:1 warning This line has a length of 129. Maximum allowed is 100 max-len
✖ 3 problems (0 errors, 3 warnings)
Checked 1 message directory.
> test:unit
> jest --testRegex tests/jest/*.test.js
----------------------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------------------|---------|----------|---------|---------|-------------------
All files | 97.71 | 92.72 | 96.15 | 97.67 |
QuickSurvey.vue | 97.95 | 97.87 | 94.28 | 97.91 | 77,431
QuickSurveyLogger.js | 88.88 | 62.5 | 100 | 88.88 | 28,65
render.js | 100 | 75 | 100 | 100 | 46,51
utils.js | 100 | 95.74 | 100 | 100 | 169-173
----------------------|---------|----------|---------|---------|-------------------
--- 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/tmpmj_pt7mj
--- stdout ---
On branch REL1_43
Your branch is up to date with 'origin/REL1_43'.
nothing to commit, working tree clean
--- end ---