Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test:snapshot path is incorrect #5

Open
GlenOttley opened this issue Feb 16, 2023 · 0 comments
Open

test:snapshot path is incorrect #5

GlenOttley opened this issue Feb 16, 2023 · 0 comments
Labels
needs triage The issue needs to be reproduced and requires a proposed fix.

Comments

@GlenOttley
Copy link

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__'
  );
@steveblue steveblue added the needs triage The issue needs to be reproduced and requires a proposed fix. label Mar 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs triage The issue needs to be reproduced and requires a proposed fix.
Projects
None yet
Development

No branches or pull requests

2 participants