test: add package import e2e test #212
Annotations
2 errors
Run pnpm test:
e2e/import-package-compat/index.test.ts#L13
Error: Snapshot `Multi file import linting test > should detect [Cache] incompatability 1` mismatched
- Expected
+ Received
@@ -1,11 +1,11 @@
"
- > @ test:lint /Users/menglinmaker/Documents/2-Engineering/OpenSource/eslint-runtime-compat/e2e/import-test
- > eslint
-
-
- /Users/menglinmaker/Documents/2-Engineering/OpenSource/eslint-runtime-compat/e2e/import-test/index.ts
+ > @ test:lint /home/runner/work/eslint-plugin-runtime-compat/eslint-plugin-runtime-compat/e2e/import-package-compat
+ > eslint
+
+
+ /home/runner/work/eslint-plugin-runtime-compat/eslint-plugin-runtime-compat/e2e/import-package-compat/index.ts
6:5 error class - [Cache] - Unsupported standard API for [bun,edge-light,fastly,node]
Docs - https://developer.mozilla.org/docs/Web/API/Cache runtime-compat/runtime-compat
✖ 1 problem (1 error, 0 warnings)
❯ e2e/import-package-compat/index.test.ts:13:24
|
Run pnpm test
Process completed with exit code 1.
|
Loading