Skip to content

Commit

Permalink
test: clean
Browse files Browse the repository at this point in the history
  • Loading branch information
waitingsong committed Jun 30, 2024
1 parent c44384b commit c97cbb3
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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 () => {
Expand Down

0 comments on commit c97cbb3

Please sign in to comment.