kidunot89/wp-graphql-composer

Jest runs against distribution instead of source code

kidunot89 opened this issue · 0 comments

Describe the bug
All tests import target components from the dist/index.js instead of src/index.js. This was done initially to save time and bypass jest configuration, but it's very bad practice.

Expected behavior
Test should import component from source.

Desktop (please complete the following information):

  • OS: Ubuntu 18.04