Stubs #259
Annotations
2 errors
tests/unit/src/loadOptions.test.js > Load options > Override defaults:
tests/unit/src/loadOptions.test.js#L62
AssertionError: expected "spy" to be called with arguments: [ 'V3SS Debug:', { …(3) } ]
Received:
1st spy call:
[
"V3SS Debug:",
{
"data": {
"settings": {
"addInputValues": false,
"attributesToClear": [],
"clearInlineFunctions": true,
"debug": true,
"formatter": "diffable",
"formatting": {
"attributesPerLine": 1,
"classesPerLine": 1,
"emptyAttributes": true,
"escapeAttributes": false,
"escapeInnerText": true,
"selfClosingTag": false,
"tagsWithWhitespacePreserved": [
"a",
"pre",
],
"voidElements": "xhtml",
},
"removeClassTest": true,
"removeComments": true,
"removeDataCy": true,
"removeDataPw": true,
"removeDataQa": true,
"removeDataTest": false,
"removeDataTestId": false,
"removeDataTestid": false,
"removeDataVId": false,
"removeIdTest": true,
"removeServerRendered": false,
"sortAttributes": false,
"sortClasses": false,
"stringifyAttributes": false,
+ "stubs": {},
"verbose": false,
},
},
"details": "Validating and defaulting options on the globalThis.vueSnapshots object.",
"function": "loadOptions.js:loadOptions",
},
]
2nd spy call:
[
"V3SS Debug:",
{
"data": {
"settings": {
"addInputValues": false,
"attributesToClear": [],
"clearInlineFunctions": true,
"debug": true,
"formatter": "diffable",
"formatting": {
"attributesPerLine": 1,
"classesPerLine": 1,
"emptyAttributes": true,
"escapeAttributes": false,
"escapeInnerText": true,
"selfClosingTag": false,
"tagsWithWhitespacePreserved": [
"a",
"pre",
],
"voidElements": "xhtml",
},
"removeClassTest": true,
"removeComments": true,
"removeDataCy": true,
"removeDataPw": true,
"removeDataQa": true,
"removeDataTest": false,
"removeDataTestId": false,
"removeDataTestid": false,
"removeDataVId": false,
"removeIdTest": true,
"removeServerRendered": false,
"sortAttributes": false,
"sortClasses": false,
"stringifyAttributes": false,
+ "stubs": {},
"verbose": false,
},
},
- "details": "Validating and defaulting options on the globalThis.vueSnapshots object.",
+ "details": "globalThis.vueSnapshots options validated/defaulted.",
"function": "loadOptions.js:loadOptions",
},
]
Number of calls: 2
❯ tests/unit/src/loadOptions.test.js:62:8
|
build
Process completed with exit code 1.
|