From 1f36b6827ba8798fc4b833738dbf864e6cc4e246 Mon Sep 17 00:00:00 2001 From: Franck Cornu Date: Fri, 7 Jun 2024 15:18:13 -0400 Subject: [PATCH] - Updated tests --- .../search-results/tests/SearchResultsComponent.test.ts | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/packages/components/src/components/search-results/tests/SearchResultsComponent.test.ts b/packages/components/src/components/search-results/tests/SearchResultsComponent.test.ts index 0d5411e..5248e56 100644 --- a/packages/components/src/components/search-results/tests/SearchResultsComponent.test.ts +++ b/packages/components/src/components/search-results/tests/SearchResultsComponent.test.ts @@ -102,7 +102,7 @@ describe("pnp-search-results", () => { }); }); - describe("theming", () => { + describe("theming", async () => { it("should support dark mode by setting the theme property to 'dark' explicitly", async () => { @@ -185,13 +185,10 @@ describe("pnp-search-results", () => { // Default color should be set const rbgColor: string = window.getComputedStyle(getInnerDarkModeClass(el)).backgroundColor; assert.equal(rgbToHex(rbgColor),"#000000"); - - return; - }); }); - describe("styling", () => { + describe("styling", async () => { it("should display title, count and/or 'see all' link when specified", async () => {