From 417d8cff3e160239499db5eb8b0b2c7ffd430598 Mon Sep 17 00:00:00 2001 From: Bryan de Jong Date: Mon, 16 Dec 2024 12:49:09 +0100 Subject: [PATCH] chore: update color notation in tests --- packages/theme-toolkit/src/style-dictionary.test.ts | 6 +++--- packages/tokens-lib/src/style-dictionary.test.ts | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/theme-toolkit/src/style-dictionary.test.ts b/packages/theme-toolkit/src/style-dictionary.test.ts index 429de024e..8bef7d88d 100644 --- a/packages/theme-toolkit/src/style-dictionary.test.ts +++ b/packages/theme-toolkit/src/style-dictionary.test.ts @@ -196,7 +196,7 @@ const testDirectory = (distPath: string) => { }); it('contains a variable assignment', () => { - expect(content).toContain('"utrechtButtonColor": "#0A2750"'); + expect(content).toContain('"utrechtButtonColor": "#0a2750"'); }); }); }); @@ -264,7 +264,7 @@ const testDirectory = (distPath: string) => { }); it('contains a property assignment', () => { - expect(content).toContain('"utrechtButtonColor": "#0A2750"'); + expect(content).toContain('"utrechtButtonColor": "#0a2750"'); }); }); }); @@ -296,7 +296,7 @@ const testDirectory = (distPath: string) => { }); it.skip('contains a property assignment', () => { - expect(content).toContain('"value": "#0A2750"'); + expect(content).toContain('"value": "#0a2750"'); }); }); }); diff --git a/packages/tokens-lib/src/style-dictionary.test.ts b/packages/tokens-lib/src/style-dictionary.test.ts index 429de024e..8bef7d88d 100644 --- a/packages/tokens-lib/src/style-dictionary.test.ts +++ b/packages/tokens-lib/src/style-dictionary.test.ts @@ -196,7 +196,7 @@ const testDirectory = (distPath: string) => { }); it('contains a variable assignment', () => { - expect(content).toContain('"utrechtButtonColor": "#0A2750"'); + expect(content).toContain('"utrechtButtonColor": "#0a2750"'); }); }); }); @@ -264,7 +264,7 @@ const testDirectory = (distPath: string) => { }); it('contains a property assignment', () => { - expect(content).toContain('"utrechtButtonColor": "#0A2750"'); + expect(content).toContain('"utrechtButtonColor": "#0a2750"'); }); }); }); @@ -296,7 +296,7 @@ const testDirectory = (distPath: string) => { }); it.skip('contains a property assignment', () => { - expect(content).toContain('"value": "#0A2750"'); + expect(content).toContain('"value": "#0a2750"'); }); }); });