Skip to content

Commit

Permalink
- Updated tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Franck Cornu committed Jun 7, 2024
1 parent 2237325 commit 1f36b68
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 () => {

Expand Down Expand Up @@ -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 () => {

Expand Down

0 comments on commit 1f36b68

Please sign in to comment.