ci: coverage/knip

This commit is contained in:
imccyu
2026-07-24 00:56:29 +08:00
parent 76b25f6c65
commit a7699cdeb1
7 changed files with 333 additions and 9 deletions
@@ -0,0 +1,13 @@
/**
* Node half of the HMR plugin: an empty apply placeholder (the reload driver
* lives in the client half) whose only contract is mounting and disposing
* cleanly in the host Loader.
*/
import { describe, expect, it } from 'vitest'
import { apply } from '@deepseek-ai/dsh-client-hmr'
describe('hmr node half', () => {
it('apply is a no-op host placeholder', () => {
expect(apply()).toBeUndefined()
})
})