From 9a9d375b1800a6ea53ed1101ee933dc4746fe15d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sigui=20Kess=C3=A9=20Emmanuel?= Date: Fri, 30 Aug 2024 06:23:01 +0100 Subject: [PATCH] :white_check_mark: Update tests --- tests/colorwind.spec.ts | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/tests/colorwind.spec.ts b/tests/colorwind.spec.ts index 3424c57..25b6f47 100644 --- a/tests/colorwind.spec.ts +++ b/tests/colorwind.spec.ts @@ -30,7 +30,7 @@ describe.concurrent('suite', () => { const config = { content: [ { - raw: html`
Click buttonClick link
`, + raw: html`
Click buttonClick link
`, }, ], }; @@ -43,19 +43,13 @@ describe.concurrent('suite', () => { it('should have bg-red-xs class', async () => { return run(config).then((result) => { - expect(result.css).toContain(css`.bg-red-xs`); + expect(result.css).toContain(css`.bg-red-2`); }); }); it('should have border-red-xl class', async () => { return run(config).then((result) => { - expect(result.css).toContain(css`.border-red-xl`); - }); - }); - - it('should have button-blue class', async () => { - return run(config).then((result) => { - expect(result.css).toContain(css`.button-blue`); + expect(result.css).toContain(css`.border-red-0`); }); }); });