Add test suite with 132 unit tests across all modules
Covers DesignState (40 tests), HouseRenderer (19), InteractionManager (24), ThemeManager (8), ExportManager (11), and CatalogPanel (30). Uses vitest with THREE.js mocks for browser-free testing.
This commit is contained in:
10
tests/__mocks__/OrbitControls.js
Normal file
10
tests/__mocks__/OrbitControls.js
Normal file
@@ -0,0 +1,10 @@
|
||||
export class OrbitControls {
|
||||
constructor() {
|
||||
this.target = { set: () => {} };
|
||||
this.enableDamping = false;
|
||||
this.dampingFactor = 0;
|
||||
this.enabled = true;
|
||||
}
|
||||
update() {}
|
||||
dispose() {}
|
||||
}
|
||||
Reference in New Issue
Block a user