There was an error while loading. Please reload this page.
1 parent da44b46 commit 7cb3b94Copy full SHA for 7cb3b94
exercises/02.1-maping-array-objects-to-li/tests.js
@@ -38,5 +38,6 @@ test("You should use singleAnimal to get the anima for each of the iterations",
38
})
39
40
test("You should add the key for each of them and it should be unique", () => {
41
- expect(app_content).toMatch("key={i}");
+ // expect(app_content).toMatch("key={i}");
42
+ expect(app_content).toMatch(/key\s*=\s*{\s*i\s*}/)
43
0 commit comments