Skip to content
This repository has been archived by the owner on Mar 10, 2022. It is now read-only.

Commit

Permalink
(PC-6859): Desk: correct typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Aliochka committed Nov 3, 2021
1 parent 0b80bef commit 261872e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/pages/Desk/Desk.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ class Desk extends Component {
{booking.ean13 !== null && (
<div>
<div className="desk-label">
{'Isbn : '}
{'ISBN : '}
</div>
<div className="desk-value">
{booking.ean13}
Expand Down
6 changes: 3 additions & 3 deletions src/components/pages/Desk/__specs__/Desk.spec.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ describe('src | components | Desk', () => {
expect(bookingDate).toBeInTheDocument()
const bookingPrice = await queryByTextTrimHtml(screen, 'Prix : 40 €')
expect(bookingPrice).toBeInTheDocument()
const bookingIsbn = await queryByTextTrimHtml(screen, 'Isbn : isbn')
const bookingIsbn = await queryByTextTrimHtml(screen, 'ISBN : isbn')
expect(bookingIsbn).toBeInTheDocument()
})

Expand All @@ -193,7 +193,7 @@ describe('src | components | Desk', () => {

// then
await screen.findByRole('button', { name: 'Valider la contremarque' })
const bookingIsbn = await queryByTextTrimHtml(screen, 'Isbn :')
const bookingIsbn = await queryByTextTrimHtml(screen, 'ISBN :')
expect(bookingIsbn).toBeInTheDocument()
})

Expand All @@ -214,7 +214,7 @@ describe('src | components | Desk', () => {

// then
await screen.findByRole('button', { name: 'Valider la contremarque' })
const bookingIsbn = await queryByTextTrimHtml(screen, 'Isbn :')
const bookingIsbn = await queryByTextTrimHtml(screen, 'ISBN :')
expect(bookingIsbn).not.toBeInTheDocument()
})

Expand Down

0 comments on commit 261872e

Please sign in to comment.