We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I tried to run tests with script setup and composition api. Everything works except that computed properties and refs don't unwrap in a template
For example computed
const classes: ComputedRef<string> = computed( () => { return status-flag--${props.statusFlag}; }); will output in vue template as
const classes: ComputedRef<string> = computed( () => { return
; });
{ "value": "status-flag--one", "effect": true }
Though if i call it from vue context
wrapper.vm.classes
It will return correct unwrapped value status-flag--one
status-flag--one
My dependencies are below "@vue/test-utils": "1.3.6", "@vue/vue2-jest": "29.2.6", "jest": "29.7.0", "babel-jest": "29.7.0", "ts-jest": "29.2.5",
"@vue/test-utils": "1.3.6", "@vue/vue2-jest": "29.2.6", "jest": "29.7.0", "babel-jest": "29.7.0", "ts-jest": "29.2.5",
Has anyone experienced same issue? I've tried switching versions of dependencies but nothing helped
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I tried to run tests with script setup and composition api.
Everything works except that computed properties and refs don't unwrap in a template
For example computed
const classes: ComputedRef<string> = computed( () => { return
status-flag--${props.statusFlag}; });
will output in vue template as
{ "value": "status-flag--one", "effect": true }
Though if i call it from vue context
wrapper.vm.classes
It will return correct unwrapped value
status-flag--one
My dependencies are below
"@vue/test-utils": "1.3.6", "@vue/vue2-jest": "29.2.6", "jest": "29.7.0", "babel-jest": "29.7.0", "ts-jest": "29.2.5",
Has anyone experienced same issue? I've tried switching versions of dependencies but nothing helped
The text was updated successfully, but these errors were encountered: