File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1164,14 +1164,14 @@ describe('component accessibility audits', () => {
11641164 it ( 'should have no accessibility violations' , async ( ) => {
11651165 const component = await mountSuspended ( CodeHeader , {
11661166 props : {
1167- filePath : 'dir1/dir2/sourcefile .js' ,
1167+ filePath : 'misc/true .js' ,
11681168 loading : false ,
11691169 isViewingFile : true ,
11701170 isBinaryFile : false ,
11711171 fileContent : {
11721172 package : 'vite' ,
11731173 version : '1.0.0' ,
1174- path : 'dir1/dir2/sourcefile .js' ,
1174+ path : 'misc/true .js' ,
11751175 language : 'javascript' ,
11761176 contentType : 'application/javascript' ,
11771177 content : 'const x = 1;' ,
@@ -1180,7 +1180,7 @@ describe('component accessibility audits', () => {
11801180 } ,
11811181 markdownViewMode : 'preview' ,
11821182 selectedLines : null ,
1183- getCodeUrlWithPath : ( path = '' ) => path ,
1183+ getCodeUrlWithPath : ( path = '' ) => `/package-code/vite/v/1.0.0/ ${ path } ` ,
11841184 packageName : 'vite' ,
11851185 version : '1.0.0' ,
11861186 } ,
You can’t perform that action at this time.
0 commit comments