Add some tests

This commit is contained in:
2024-05-17 17:52:57 +02:00
parent 77b1c485d3
commit 314380097a
4 changed files with 729 additions and 25 deletions

View File

@@ -10,9 +10,9 @@ export type ScanResult = {
orderCount: number,
}
interface MarketScan {
owner: string;
types: number[];
type MarketScan = {
owner: string,
types: number[]
};
const marketScans = 'marketScans';
@@ -21,7 +21,7 @@ export const useMarketScanStore = defineStore(marketScans, () => {
const marketScan = ref<MarketScan>();
const types = computed(() => marketScan.value?.types ?? []);
const setTypes = async (_types: number[]) => {
const setTypes = async (types: number[]) => {
}
const addType = async (type: number) => {