mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-07 22:46:06 +00:00
This allows the test environment to correctly resolve import of services in controller ie: `import OptionValueNamer from "js/services/option_value_namer";` The added benefit is we can now import package to be tested directly without having to specify the whole relative path ie in test file you can do : `import variant_controller from "controllers/variant_controller";`
6.5 KiB
6.5 KiB