Skip to content

Commit 6a164d8

Browse files
committed
fix types
1 parent 0232502 commit 6a164d8

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

  • exercises/01.expressions-and-output/05.solution.template-literals

exercises/01.expressions-and-output/05.solution.template-literals/index.test.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,8 @@ await test('greeting is exported', () => {
2626

2727
await test('should have Hello, TypeScript! greeting', () => {
2828
assert.ok(
29-
solution.greeting === 'Hello, TypeScript!' ||
30-
solution.greeting === 'Hello TypeScript',
31-
'🚨 greeting should include "Hello" and "TypeScript"',
29+
solution.greeting.toLowerCase().includes('hello typescript'),
30+
'🚨 greeting should include "Hello TypeScript"',
3231
)
3332
})
3433

0 commit comments

Comments
 (0)