fix frontend unit tests
This commit is contained in:
parent
9e33e75fc2
commit
2979d9a110
4 changed files with 51 additions and 7 deletions
|
|
@ -30,7 +30,7 @@ describe('MkMediaImage', () => {
|
|||
comment: null,
|
||||
properties: {},
|
||||
...image,
|
||||
} as DriveFile,
|
||||
} as Misskey.entities.DriveFile,
|
||||
},
|
||||
global: { directives, components },
|
||||
});
|
||||
|
|
|
|||
|
|
@ -4,17 +4,28 @@
|
|||
"compilerOptions": {
|
||||
"module": "NodeNext",
|
||||
"moduleResolution": "NodeNext",
|
||||
"baseUrl": "./",
|
||||
"rootDir": "../",
|
||||
"paths": {
|
||||
"@/*": ["../src/*"]
|
||||
"@/*": ["../src/*"],
|
||||
"@@/*": ["../../frontend-shared/*"]
|
||||
},
|
||||
"typeRoots": [
|
||||
"../node_modules/@types"
|
||||
"../@types",
|
||||
"../node_modules/@types",
|
||||
"../node_modules/@vue-macros",
|
||||
"../node_modules"
|
||||
],
|
||||
"types": ["node"]
|
||||
},
|
||||
"include": [
|
||||
"../lib/**/*.ts",
|
||||
"../src/**/*.ts",
|
||||
"../src/**/*.vue",
|
||||
"../@types/**/*.ts",
|
||||
"./**/*.ts",
|
||||
"../src/**/*.vue"
|
||||
],
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
"../.storybook/**/*"
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue