I rearranged the `tests` folder a bit, however, I...
# help
ö
I rearranged the
tests
folder a bit, however, I cannot import anything from
stacks
folder using the relative path or path alias. I wanted to add path alias, and I did for
src
directory, however, it does not work
stacks
directory.
a
I want to know this too.
ö
Are you facing it as well?
f
Let me loop in @thdxr, he’s the expert on the project structure and jest side of things.
t
I believe you need
"baseUrl": "."
, set if you have paths set
here's a sample
Also in that case don't you need to go up two levels,
../../stacks
ö
Do I need to add
@acme/core
to
paths
or is just an example? BecauseI didn’t install it explicitly?
f
I think that’s an example? @thdxr would know this.
t
That's the example subpackage in the example