mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-04 10:24:02 +00:00
The rail cards, card blocks, settings, chips and row lists are Vue components in src/ui/rail/. createRailCards() and createRailCardBlocks() keep their update and destroy API and patch the components synchronously with render(), so Weather and Recent imagery are unchanged. Controls of a removed block dispatch nothing, a released range keeps its value until the owner's next update, and range values are written only when they differ. Weather's remount state is keyed by its panel. Tests of rendered parts run on happy-dom.
6 lines
277 B
JavaScript
6 lines
277 B
JavaScript
import { GlobalRegistrator } from '@happy-dom/global-registrator';
|
|
|
|
// Import first in a test file whose modules load Vue at import time: Vue binds
|
|
// the document when it loads. Each test file runs in its own process.
|
|
GlobalRegistrator.register({ url: 'http://localhost/' });
|