mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-04 13:56:07 +02:00
fix
This commit is contained in:
@@ -3,7 +3,7 @@ import {
|
||||
GROUP_EXACT_TYPES,
|
||||
getNotificationCategory,
|
||||
getNotificationTs
|
||||
} from '../notificationCategory';
|
||||
} from '../utils/notificationCategory';
|
||||
|
||||
describe('getNotificationCategory', () => {
|
||||
test('returns "other" for falsy type', () => {
|
||||
|
||||
@@ -2,7 +2,7 @@ import {
|
||||
getNotificationMessage,
|
||||
getUserIdFromNoty,
|
||||
toNotificationText
|
||||
} from '../notificationMessage';
|
||||
} from '../utils/notificationMessage';
|
||||
|
||||
// Mock displayLocation to return a predictable string
|
||||
vi.mock('../utils', () => ({
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { resolveRef } from '../resolveRef';
|
||||
import { resolveRef } from '../utils/resolveRef';
|
||||
|
||||
describe('resolveRef', () => {
|
||||
const emptyDefault = { id: '', name: '' };
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { useFriendStore, useUserStore } from '../../stores';
|
||||
import { database } from '../../service/database.js';
|
||||
import { database } from '../../service/database';
|
||||
|
||||
/**
|
||||
* @returns {Promise<void>}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { displayLocation } from './utils';
|
||||
import { displayLocation } from './locationParser';
|
||||
|
||||
/**
|
||||
* Extracts the notification title and body from a notification object.
|
||||
Reference in New Issue
Block a user