Skip to content

Commit 4f6c954

Browse files
committed
fix tests
1 parent 6a164d8 commit 4f6c954

1 file changed

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

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

0 commit comments

Comments
 (0)