Skip to content
This repository was archived by the owner on Jan 30, 2025. It is now read-only.

Commit 1876b8f

Browse files
committed
test(*): update base36Hash
1 parent 180fe7b commit 1876b8f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

test/sheet-compiler.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { genBase62Hash, sheetCompiler } from '../src/_internal';
1+
import { genBase36Hash, sheetCompiler } from '../src/_internal';
22
import { max_lg } from '../src/core/media';
33

44
test('sheetCompiler produces expected output', async () => {
@@ -11,7 +11,7 @@ test('sheetCompiler produces expected output', async () => {
1111
},
1212
};
1313

14-
const base62Hash = genBase62Hash(object, 5);
14+
const base62Hash = genBase36Hash(object, 6);
1515
const { styleSheet } = sheetCompiler(object, base62Hash);
1616

1717
expect(styleSheet).toContain('.e2e_');

test/style-compiler.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { genBase62Hash, styleCompiler } from '../src/_internal';
1+
import { genBase36Hash, styleCompiler } from '../src/_internal';
22
import { max_lg } from '../src/core/media';
33

44
test('styleCompiler produces expected output', async () => {
@@ -11,7 +11,7 @@ test('styleCompiler produces expected output', async () => {
1111
},
1212
};
1313

14-
const base62Hash = genBase62Hash(object, 5);
14+
const base62Hash = genBase36Hash(object, 8);
1515
const { styleSheet } = styleCompiler(object, base62Hash);
1616

1717
expect(styleSheet).toContain('color: blue;');

0 commit comments

Comments
 (0)