Replies: 4 comments 3 replies
-
Hello please provide your github repo for reproduction |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hello,
thank you for your fast response, I have made this repository just to test.
https://github.com/LeSrbz/taiga-editor.git
CLI for testing: nx run texteditor:test
Thank you
…On Tue, Mar 21, 2023 at 7:25 PM Maksim Ivanov ***@***.***> wrote:
Hello please provide your github repo for reproduction
—
Reply to this email directly, view it on GitHub
<#3944 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ARGIXSG3TVGDX466SJ5CRHLW5HXCXANCNFSM6AAAAAAWCWYNVM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
-
In your file: Don't forget import 'jest-preset-angular/setup-jest';
import '@ng-web-apis/universal/mocks';
window.IntersectionObserver = function () {
this.observe = () => {};
this.unobserve = () => {};
this.disconnect = () => {};
}; In our docs |
Beta Was this translation helpful? Give feedback.
1 reply
-
I did that but then it gives another error. did you try it?
…On Wed, Mar 22, 2023 at 11:18 AM Maksim Ivanov ***@***.***> wrote:
In your file:
[image: image]
<https://user-images.githubusercontent.com/12021443/226872428-f9a2d78a-e4f5-4b20-9f1b-5e658ccf2323.png>
Don't forget
import 'jest-preset-angular/setup-jest';import ***@***.***/universal/mocks';
window.IntersectionObserver = function () {
this.observe = () => {};
this.unobserve = () => {};
this.disconnect = () => {};};
In our docs
[image: image]
<https://user-images.githubusercontent.com/12021443/226872793-d0dd3e40-a218-4c2a-b691-3d516bdff5cf.png>
—
Reply to this email directly, view it on GitHub
<#3944 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ARGIXSGIQBIRJZYUHJVO7ODW5LGX7ANCNFSM6AAAAAAWCWYNVM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi I used the Taiga UI editor and I can't fix unit test error "IntersectionObserver is not defined".... I have read https://taiga-ui.dev/testing/jest this page and tried it and instead it gives me "jest worker encountered 4 child process exceptions, exceeding retry limit" error. :( how can I fix it
Thank you in advance
Beta Was this translation helpful? Give feedback.
All reactions