-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
23ab4f7
commit 16e57da
Showing
3 changed files
with
27 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import '@testing-library/jest-dom'; | ||
import {render, screen} from '@testing-library/react'; | ||
import React from 'react'; | ||
import {ButtonPrimary} from './button-primary'; | ||
|
||
describe(ButtonPrimary.name, () => { | ||
it('should display text', () => { | ||
render(<ButtonPrimary text="Buy Now" />); | ||
|
||
expect(screen.queryByText('Buy Now')).toBeInTheDocument(); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import '@testing-library/jest-dom'; | ||
import {render, screen} from '@testing-library/react'; | ||
import React from 'react'; | ||
import {ButtonSelection} from './button-selection'; | ||
|
||
describe(ButtonSelection.name, () => { | ||
it('should display text', () => { | ||
render(<ButtonSelection text="For Sale" />); | ||
|
||
expect(screen.queryByText('For Sale')).toBeInTheDocument(); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
export * from './hello-world/hello-world'; | ||
export * from './button/primary/button-primary'; | ||
export * from './button/selection/button-selection'; | ||
export * from './toniq-icon/toniq-icon'; |