Skip to content

Commit

Permalink
Update presets.bench.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 authored Aug 18, 2024
1 parent ad4d0ab commit 684dd89
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion bench/presets.bench.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,21 @@ describe('presets', () => {
const magenta = presetPalettes.magenta;
const grey = presetPalettes.grey;
const gray = presetPalettes.grey;

expect(red).toBeTruthy();
expect(volcano).toBeTruthy();
expect(gold).toBeTruthy();
expect(orange).toBeTruthy();
expect(yellow).toBeTruthy();
expect(lime).toBeTruthy();
expect(green).toBeTruthy();
expect(cyan).toBeTruthy();
expect(blue).toBeTruthy();
expect(geekblue).toBeTruthy();
expect(purple).toBeTruthy();
expect(magenta).toBeTruthy();
expect(grey).toBeTruthy();
expect(gray).toBeTruthy();
});

bench('pre-compile', () => {
Expand Down Expand Up @@ -486,7 +501,6 @@ describe('presets', () => {
expect(grey).toBeTruthy();
expect(gray).toBeTruthy();
expect(presetPrimaryColors).toBeTruthy();
expect(gray).toBeTruthy(); // Second occurrence
expect(presetPalettes).toBeTruthy();
expect(grayDark).toBeTruthy();
expect(presetDarkPalettes).toBeTruthy();
Expand Down

0 comments on commit 684dd89

Please sign in to comment.