Skip to content

Commit

Permalink
test(status): update description test
Browse files Browse the repository at this point in the history
  • Loading branch information
PunGrumpy committed May 21, 2024
1 parent fddad6a commit 877d29d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/utils/status.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,22 @@ describe('Status String', () => {
expect(result).toBe(chalk.green('200'))
})

it('Presents the status string in green for a 301 status code', () => {
it('Presents the status string in cyan for a 301 status code', () => {
const result = statusString(301)
expect(result).toBe(chalk.cyan('301'))
})

it('Presents the status string in green for a 404 status code', () => {
it('Presents the status string in yellow for a 404 status code', () => {
const result = statusString(404)
expect(result).toBe(chalk.yellow('404'))
})

it('Presents the status string in green for a 500 status code', () => {
it('Presents the status string in red for a 500 status code', () => {
const result = statusString(500)
expect(result).toBe(chalk.red('500'))
})

it('Presents the status string in green for a 100 status code', () => {
it('Presents the status string in white for a 100 status code', () => {
const result = statusString(100)
expect(result).toBe(chalk.white('100'))
})
Expand Down

0 comments on commit 877d29d

Please sign in to comment.