Skip to content

Commit

Permalink
add ConfigExtension type to public API test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
dcastil committed Dec 21, 2024
1 parent 3be292b commit b450bbd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/public-api.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import {
ClassNameValue,
ClassValidator,
Config,
ConfigExtension,
DefaultClassGroupIds,
DefaultThemeGroupIds,
createTailwindMerge,
Expand Down Expand Up @@ -183,7 +184,9 @@ test('mergeConfigs has correct inputs and outputs', () => {
})

test('extendTailwindMerge has correct inputs and outputs', () => {
expect(extendTailwindMerge({})).toStrictEqual(expect.any(Function))
expect(extendTailwindMerge({} satisfies ConfigExtension<string, string>)).toStrictEqual(
expect.any(Function),
)
})

test('fromTheme has correct inputs and outputs', () => {
Expand Down

0 comments on commit b450bbd

Please sign in to comment.