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

Error on snapshot test #306

Open
DaeunYoon opened this issue Sep 7, 2022 · 0 comments
Open

Error on snapshot test #306

DaeunYoon opened this issue Sep 7, 2022 · 0 comments
Labels
bug Issues that represent a bug.

Comments

@DaeunYoon
Copy link

DaeunYoon commented Sep 7, 2022

  • What is the expected and current behavior?
    Tell us what should be happening and what is happening instead.

The test should not fail as it was only a snapshot test.
But the test failed with the below error line.

FAIL  components/TheSearchBar.test.ts [ components/TheSearchBar.test.ts ]
Error: Cannot find module '/Users/daeunyoon/Project/app/node_modules/@inkline/inkline/plugin' imported from /Users/daeunyoon/Project/app/node_modules/@inkline/inkline/inkline.mjs
  • Steps to reproduce
    If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
  1. clone SideBase
  2. make a component using ISelect and make a snapshot test.
  • Please tell us about your environment:

    • Operating System: Darwin
    • Node Version: v16.14.2
    • Nuxt Version: 3.0.0-rc.8 (I downgraded from a scaffold)
    • Nitro Version: 0.5.1
    • Package Manager: npm@8.5.0
    • Builder: vite
    • Browser: Mac
    • Language: ts
  • Other information
    Detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc.

@DaeunYoon DaeunYoon added the bug Issues that represent a bug. label Sep 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issues that represent a bug.
Projects
None yet
Development

No branches or pull requests

1 participant