We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2283704 commit b5bee46Copy full SHA for b5bee46
1 file changed
exercises/03.using-jsx/02.solution.interpolation/index.test.ts
@@ -20,5 +20,5 @@ await testStep('children is interpolated', async () => {
20
inlineScript.textContent,
21
'children should be interpolated',
22
).not.to.include('>Hello World<')
23
- expect(inlineScript.textContent).to.include('{children}')
+ expect(inlineScript.textContent, 'expected script to include { children }').to.match(/{\s*children\s*}/)
24
})
0 commit comments