We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0232502 commit 6a164d8Copy full SHA for 6a164d8
1 file changed
exercises/01.expressions-and-output/05.solution.template-literals/index.test.ts
@@ -26,9 +26,8 @@ await test('greeting is exported', () => {
26
27
await test('should have Hello, TypeScript! greeting', () => {
28
assert.ok(
29
- solution.greeting === 'Hello, TypeScript!' ||
30
- solution.greeting === 'Hello TypeScript',
31
- '🚨 greeting should include "Hello" and "TypeScript"',
+ solution.greeting.toLowerCase().includes('hello typescript'),
+ '🚨 greeting should include "Hello TypeScript"',
32
)
33
})
34
0 commit comments