Add some tests
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user