diff --git a/exercises/03.using-jsx/02.solution.interpolation/index.test.ts b/exercises/03.using-jsx/02.solution.interpolation/index.test.ts index b20315c99..7f57248f4 100644 --- a/exercises/03.using-jsx/02.solution.interpolation/index.test.ts +++ b/exercises/03.using-jsx/02.solution.interpolation/index.test.ts @@ -20,5 +20,5 @@ await testStep('children is interpolated', async () => { inlineScript.textContent, 'children should be interpolated', ).not.to.include('>Hello World<') - expect(inlineScript.textContent).to.include('{children}') + expect(inlineScript.textContent, 'expected script to include { children }').to.match(/{\s*children\s*}/) })