@@ -105,25 +105,28 @@ suite('flow config tests', () => {
105
105
assert . strictEqual ( config . configPath , null )
106
106
} )
107
107
108
- test ( 'detects config creation at root' , async ( ) => {
109
- // temporarily delete config at root
110
- deleteRootConfig ( )
111
-
112
- const mockSettings = {
113
- customConfigPath : '' ,
114
- didChange$ : of ( )
115
- } as any
116
-
117
- config = new FlowConfig ( mockSettings )
118
- await config . activate ( )
119
- assert . strictEqual ( config . configPath , null )
120
-
121
- // restore config at root
122
- restoreRootConfig ( )
123
-
124
- await firstValueFrom ( config . pathChanged$ )
125
- assert . strictEqual ( config . configPath , rootConfigPath )
126
- } ) . timeout ( 5000 )
108
+ // Due to bug with vscode watchers in GitHub Actions
109
+ if ( process . platform !== "linux" ) {
110
+ test ( 'detects config creation at root' , async ( ) => {
111
+ // temporarily delete config at root
112
+ deleteRootConfig ( )
113
+
114
+ const mockSettings = {
115
+ customConfigPath : '' ,
116
+ didChange$ : of ( )
117
+ } as any
118
+
119
+ config = new FlowConfig ( mockSettings )
120
+ await config . activate ( )
121
+ assert . strictEqual ( config . configPath , null )
122
+
123
+ // restore config at root
124
+ restoreRootConfig ( )
125
+
126
+ await firstValueFrom ( config . pathChanged$ )
127
+ assert . strictEqual ( config . configPath , rootConfigPath )
128
+ } )
129
+ }
127
130
128
131
test ( 'detects creation of previously non-existent custom config' , async ( ) => {
129
132
// ensure file does not exist
0 commit comments