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

Check that the file exists #18

Open
mrbinky3000 opened this issue Jan 31, 2024 · 0 comments
Open

Check that the file exists #18

mrbinky3000 opened this issue Jan 31, 2024 · 0 comments

Comments

@mrbinky3000
Copy link

I have run into the following issue a few times now.

  1. Create an SCSS file
  2. Import it into a React component
  3. Run jest.
  4. Jest passes.
  5. Delete the SCSS file, keep the import statement as-is in your React component
  6. Run jest.
  7. Jest still passes even though the file doesn't exist.
  8. Build fails in CI/CD pipeline.

It would be nice if identity-obj-proxy could check if the file exists before proxying the object.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant