Skip to content

Commit

Permalink
Try copilot fix build suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
SantaClaas committed Feb 11, 2025
1 parent 1c3e4d6 commit 754a03f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import { expect, it } from "vitest";
import materialTailwind from ".";

// This test is rather simple and more of a smoke test to ensure in CI that we build the dependency correctly
it("Can create a Material design TailwindCSS configuration", () => {
it("Can create a Material design TailwindCSS configuration", async () => {
const plugin = materialTailwind({ source: "#0c1445" });

const themeJson = JSON.stringify(plugin.config.theme, null, 2);
expect(themeJson).toMatchFileSnapshot("./theme test.snapshot.json");
await expect(themeJson).toMatchFileSnapshot("./theme test.snapshot.json");
});

0 comments on commit 754a03f

Please sign in to comment.