Running the test:snapshot command as instructed at the end of module 1 creates a nested 'packages/component/src/card/snapshot directory inside the packages/component directory.
change from:
const snapshotPath = join(
'packages',
'component',
dirname(fileName),
'__snapshots__'
);
to:
const snapshotPath = join(
dirname(fileName),
'__snapshots__'
);
Running the test:snapshot command as instructed at the end of module 1 creates a nested 'packages/component/src/card/snapshot directory inside the packages/component directory.
change from:
to: