File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed
Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,11 @@ export default antfu(
1010 }
1111 } ,
1212 jsonc : false ,
13+ test : {
14+ overrides : {
15+ 'test/consistent-test-it' : 'off'
16+ }
17+ } ,
1318 ignores : [ 'src/meta.ts' ]
1419 } ,
1520 configPrettier ,
Original file line number Diff line number Diff line change @@ -11,12 +11,12 @@ suite('PHPFmt Test', () => {
1111 `${ pkg . author ?. name } .${ pkg . name } `
1212 ) ;
1313
14- it ( 'can activate' , async ( ) => {
14+ test ( 'can activate' , async ( ) => {
1515 assert . ok ( extension != null ) ;
1616 await extension . activate ( ) ;
1717 } ) ;
1818
19- it ( 'can format with command' , async ( ) => {
19+ test ( 'can format with command' , async ( ) => {
2020 if ( vscode . workspace . workspaceFolders == null ) {
2121 assert . fail ( ) ;
2222 }
@@ -41,13 +41,13 @@ suite('PHPFmt Test', () => {
4141 }
4242 } ) ;
4343
44- it ( 'should register commands' , async ( ) => {
44+ test ( 'should register commands' , async ( ) => {
4545 const commands = await vscode . commands . getCommands ( true ) ;
4646 const foundCommands = commands . filter ( value => value . startsWith ( 'phpfmt.' ) ) ;
4747 assert . equal ( foundCommands . length , pkg . contributes . commands . length ) ;
4848 } ) ;
4949
50- it ( 'should commands work' , ( ) => {
50+ test ( 'should commands work' , ( ) => {
5151 const commands = pkg . contributes . commands as Array < {
5252 command : string ;
5353 title : string ;
You can’t perform that action at this time.
0 commit comments