From 9d592f4e081bbe092818ccae40228b3ec8dc5e48 Mon Sep 17 00:00:00 2001 From: Cory LaViska Date: Tue, 18 Jul 2023 13:13:59 -0400 Subject: [PATCH] wait longer to prevent flakiness --- src/components/icon/icon.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/icon/icon.test.ts b/src/components/icon/icon.test.ts index 853932ec4..8d485fe4e 100644 --- a/src/components/icon/icon.test.ts +++ b/src/components/icon/icon.test.ts @@ -175,8 +175,8 @@ describe('', () => { expect(svg).to.be.instanceof(SVGElement); expect(use).to.be.instanceof(SVGUseElement); - // This is kind of hacky...but with no way to check "load", we just do a timeout :shrug: - await aTimeout(200); + // This is kind of hacky...but with no way to check "load", we just use a timeout + await aTimeout(1000); // Theres no way to really test that the icon rendered properly. We just gotta trust the browser to do it's thing :) // However, we can check the size. It should be greater than 0x0 if loaded properly.