mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-20 07:13:51 +02:00
rename
This commit is contained in:
@@ -15,7 +15,7 @@ vi.mock('vue-i18n', () => ({
|
||||
})
|
||||
}));
|
||||
|
||||
vi.mock('../../../../plugin/router', () => {
|
||||
vi.mock('../../../../plugins/router', () => {
|
||||
const { ref } = require('vue');
|
||||
return {
|
||||
router: {
|
||||
@@ -40,8 +40,8 @@ vi.mock('vue-router', async (importOriginal) => {
|
||||
}))
|
||||
};
|
||||
});
|
||||
vi.mock('../../../../plugin/interopApi', () => ({ initInteropApi: vi.fn() }));
|
||||
vi.mock('../../../../service/database', () => ({
|
||||
vi.mock('../../../../plugins/interopApi', () => ({ initInteropApi: vi.fn() }));
|
||||
vi.mock('../../../../services/database', () => ({
|
||||
database: new Proxy(
|
||||
{},
|
||||
{
|
||||
@@ -52,7 +52,7 @@ vi.mock('../../../../service/database', () => ({
|
||||
}
|
||||
)
|
||||
}));
|
||||
vi.mock('../../../../service/config', () => ({
|
||||
vi.mock('../../../../services/config', () => ({
|
||||
default: {
|
||||
init: vi.fn(),
|
||||
getString: vi.fn().mockImplementation((_k, d) => d ?? '{}'),
|
||||
@@ -70,11 +70,11 @@ vi.mock('../../../../service/config', () => ({
|
||||
remove: vi.fn()
|
||||
}
|
||||
}));
|
||||
vi.mock('../../../../service/jsonStorage', () => ({ default: vi.fn() }));
|
||||
vi.mock('../../../../service/watchState', () => ({
|
||||
vi.mock('../../../../services/jsonStorage', () => ({ default: vi.fn() }));
|
||||
vi.mock('../../../../services/watchState', () => ({
|
||||
watchState: { isLoggedIn: false }
|
||||
}));
|
||||
vi.mock('../../../../service/request', () => ({
|
||||
vi.mock('../../../../services/request', () => ({
|
||||
request: vi.fn().mockResolvedValue({ json: {} }),
|
||||
processBulk: vi.fn(),
|
||||
buildRequestInit: vi.fn(),
|
||||
|
||||
Reference in New Issue
Block a user