node-half.spec.ts 470 B

1234567891011121314
  1. /**
  2. * Node half of the HMR plugin: an empty apply placeholder (the reload driver
  3. * lives in the client half) whose only contract is mounting and disposing
  4. * cleanly in the host Loader.
  5. */
  6. import { describe, expect, it } from 'vitest'
  7. import { apply } from '@deepseek-ai/dsh-client-hmr'
  8. describe('hmr node half', () => {
  9. it('apply is a no-op host placeholder', () => {
  10. apply()
  11. expect(true).toBe(true) // reaching here without throw is the contract
  12. })
  13. })