Nuxt * vitestで以前まで通っていたテストCannot read properties of undefined (reading 'reduceRight')
で落ちるようになったので、その原因と対処法のメモ
原因
urql/coreのアプデでexchangesを明確に指定しないとエラーが出るようになった。
https://github.com/urql-graphql/urql/discussions/3145
対処法
createClient
でexchangesを指定する。
createClient({
exchanges: []
Discussion