From b450bbd32abd814ffb3623af9fb984dfcbfaf7a1 Mon Sep 17 00:00:00 2001 From: Dany Castillo <31006608+dcastil@users.noreply.github.com> Date: Sat, 21 Dec 2024 21:40:01 +0100 Subject: [PATCH] add ConfigExtension type to public API test suite --- tests/public-api.test.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/public-api.test.ts b/tests/public-api.test.ts index 91f1fda..06fa420 100644 --- a/tests/public-api.test.ts +++ b/tests/public-api.test.ts @@ -4,6 +4,7 @@ import { ClassNameValue, ClassValidator, Config, + ConfigExtension, DefaultClassGroupIds, DefaultThemeGroupIds, createTailwindMerge, @@ -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)).toStrictEqual( + expect.any(Function), + ) }) test('fromTheme has correct inputs and outputs', () => {