Skip to content

Commit 3220935

Browse files
chore: add TransformOptions type to init in tests
1 parent 1ad17e2 commit 3220935

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/integration/cross-file-refs.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ describe('cross file references', () => {
3434
cleanup(dict);
3535
dict = await init(cfg, {
3636
withSDBuiltins: false,
37-
expand: { typography: true },
3837
});
3938
});
4039

test/integration/utils.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
import type { Config } from 'style-dictionary/types';
22
import StyleDictionary from 'style-dictionary';
3+
import type { TransformOptions } from '../../src/TransformOptions.js';
34
import { register } from '../../src/register.js';
45

5-
export async function init(cfg: Config, transformOpts = {}) {
6+
export async function init(cfg: Config, transformOpts: TransformOptions = {}) {
67
register(StyleDictionary, transformOpts);
78
const dict = new StyleDictionary({
89
...cfg,

0 commit comments

Comments
 (0)