diff --git a/packages/win32-api/test/lib/user32/1002.GetClassNameW.test.ts b/packages/win32-api/test/lib/user32/1002.GetClassNameW.test.ts index 603ae5fc..445f5c64 100644 --- a/packages/win32-api/test/lib/user32/1002.GetClassNameW.test.ts +++ b/packages/win32-api/test/lib/user32/1002.GetClassNameW.test.ts @@ -2,9 +2,7 @@ import assert from 'node:assert/strict' import { spawn } from 'node:child_process' import { fileShortPath, sleep } from '@waiting/shared-core' -import { ucsBufferFrom, ucsBufferToString } from 'win32-def' -import { WNDCLASSEXW_Factory } from 'win32-def/struct' -import type { WNDCLASSEXW_Type } from 'win32-def/struct' +import { ucsBufferToString } from 'win32-def' import { User32 as Lib, Kernel32 } from '##/index.js' import { FindWindowEx } from '##/index.util.js' @@ -13,10 +11,6 @@ import { FindWindowEx } from '##/index.util.js' describe(fileShortPath(import.meta.url), () => { const lib = Lib.load() assert(lib) - const libKnl = Kernel32.load() - assert(libKnl) - const hModule = libKnl.GetModuleHandleW(null) - assert(hModule) describe('GetClassNameW()', () => { it('normal', async () => {