Commit c3c49e6
authored
test(amazonq): add mock for IntersectionObserver (#6867)
## Problem
`ReferenceError: IntersectionObserver is not defined` in E2E tests due
to JSDOM
## Solution
Add mock for IntersectionObserver
---
- Treat all work as PUBLIC. Private `feature/x` branches will not be
squash-merged at release time.
- Your code changes must meet the guidelines in
[CONTRIBUTING.md](https://github.com/aws/aws-toolkit-vscode/blob/master/CONTRIBUTING.md#guidelines).
- License: I confirm that my contribution is made under the terms of the
Apache 2.0 license.1 parent f0e16c4 commit c3c49e6
File tree
1 file changed
+13
-0
lines changed- packages/amazonq/test/e2e/amazonq/framework
1 file changed
+13
-0
lines changedLines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
50 | 63 | | |
0 commit comments