Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
feat: add unit tests for campaigns folder #1724
feat: add unit tests for campaigns folder #1724
Changes from all commits
563ac08
7ee04b5
510ae01
c6a39a5
7eab794
13e87e6
418c7fa
d514196
91585c2
d796bcc
f8c3af6
7cf46cc
9132a76
697d573
58f092e
26b16a5
45735ee
0a96798
7d2fd02
595cc09
2d2e676
90443f8
6d8ab7d
b7fad6e
3764428
27f04df
8bdaeac
62934b6
933dde2
ddb3809
5900eae
5f6d2de
dd0b0e4
334887f
d2b1ab9
3f339e9
34f39c8
af76387
26df0f0
017e1f6
bcd67f7
fcd713f
8128550
b80e195
015b510
6027dd5
5af3471
2cd75e7
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use
beforeEach
here to mount theBanner
ComponentThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For this I can't use BeforeEach since , for some parts in the code , I am rendering Banner after the clock is set , to get the Banner displayed like here
const mockDate = new Date(2021, 10, 12).getTime(); cy.clock(mockDate); mount(<Banner />);