Convert all store files from JavaScript to TypeScript
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -2,7 +2,7 @@ import { describe, it, expect, beforeEach, vi } from 'vitest';
|
||||
import { setActivePinia, createPinia } from 'pinia';
|
||||
|
||||
// Mock allMapData store (used by createInsightWithPath / createPaths)
|
||||
vi.mock('@/stores/allMapData.js', () => ({
|
||||
vi.mock('@/stores/allMapData', () => ({
|
||||
default: () => ({ insights: {} }),
|
||||
}));
|
||||
|
||||
@@ -16,7 +16,7 @@ vi.mock('@/assets/capsule2.svg', () => ({ default: 'cap2' }));
|
||||
vi.mock('@/assets/capsule3.svg', () => ({ default: 'cap3' }));
|
||||
vi.mock('@/assets/capsule4.svg', () => ({ default: 'cap4' }));
|
||||
|
||||
import { useMapPathStore } from '@/stores/mapPathStore.ts';
|
||||
import { useMapPathStore } from '@/stores/mapPathStore';
|
||||
|
||||
/**
|
||||
* Creates a mock Cytoscape node.
|
||||
|
||||
Reference in New Issue
Block a user