simonsobs / acondbw

Product DB front-end web app
MIT License
0 stars 1 forks source link

figure out how to test ApolloQuery #11

Closed TaiSakuma closed 1 year ago

TaiSakuma commented 4 years ago

I tried writing a view with ApolloQuery, for example, MapItemWithApolloQuery.vue.

It worked, but I stopped using it because it was not clear how to test it. The test failed with the following message.

  Test suite failed to run

    Tagged template strings are not supported. Use `transforms: {
    templateString: false }` to skip transformation and disable this
    error, or `transforms: { dangerousTaggedTemplateString: true }` if
    you know what you're doing (1:556)

The problem is discussed in the issue https://github.com/vuejs/vue-jest/issues/98. The issue is still open as of this writing and a solution is unknown.

TaiSakuma commented 1 year ago

No longer relevant. Apollo is no longer used. Urql is used instead.