@@ -14,7 +14,6 @@ import { createWriteStream } from 'node:fs';
14
14
15
15
import { toAbsolutePath , toDirname , toPath } from '@-xun/fs' ;
16
16
import { readJsonc , readXPackageJsonAtRoot } from '@-xun/project' ;
17
- import { extractExamplesFromDocument } from '@-xun/project-fs' ;
18
17
19
18
import {
20
19
run as runYesRejectOnBadExit ,
@@ -31,6 +30,7 @@ import {
31
30
dummyFilesFixture ,
32
31
dummyNpmPackageFixture ,
33
32
ensurePackageHasBeenBuilt ,
33
+ extractExamplesFromDocument ,
34
34
mockFixturesFactory ,
35
35
npmCopyPackageFixture ,
36
36
reconfigureJestGlobalsToSkipTestsInThisFileIfRequested
@@ -136,7 +136,7 @@ describe('./README.md', () => {
136
136
id : 1 ,
137
137
stderr : '' ,
138
138
exitCode : 0 ,
139
- stdout : expect . stringMatching ( examplesRegExp . get ( 'output-1' ) ! )
139
+ stdout : expect . stringMatching ( examplesRegExp . get ( 'output-1' ) )
140
140
} ) ;
141
141
}
142
142
@@ -149,7 +149,7 @@ describe('./README.md', () => {
149
149
id : 2 ,
150
150
stderr : '' ,
151
151
exitCode : 0 ,
152
- stdout : expect . stringMatching ( examplesRegExp . get ( 'output-2' ) ! )
152
+ stdout : expect . stringMatching ( examplesRegExp . get ( 'output-2' ) )
153
153
} ) ;
154
154
}
155
155
@@ -162,7 +162,7 @@ describe('./README.md', () => {
162
162
id : 3 ,
163
163
stderr : '' ,
164
164
exitCode : 0 ,
165
- stdout : expect . stringMatching ( examplesRegExp . get ( 'output-3' ) ! )
165
+ stdout : expect . stringMatching ( examplesRegExp . get ( 'output-3' ) )
166
166
} ) ;
167
167
}
168
168
@@ -175,7 +175,7 @@ describe('./README.md', () => {
175
175
id : 4 ,
176
176
stderr : '' ,
177
177
exitCode : 0 ,
178
- stdout : expect . stringMatching ( examplesRegExp . get ( 'output-4' ) ! )
178
+ stdout : expect . stringMatching ( examplesRegExp . get ( 'output-4' ) )
179
179
} ) ;
180
180
}
181
181
@@ -188,7 +188,7 @@ describe('./README.md', () => {
188
188
id : 5 ,
189
189
stdout : '' ,
190
190
exitCode : 1 ,
191
- stderr : expect . stringMatching ( examplesRegExp . get ( 'output-5' ) ! )
191
+ stderr : expect . stringMatching ( examplesRegExp . get ( 'output-5' ) )
192
192
} ) ;
193
193
}
194
194
@@ -201,7 +201,7 @@ describe('./README.md', () => {
201
201
id : 6 ,
202
202
stderr : '' ,
203
203
exitCode : 0 ,
204
- stdout : expect . stringMatching ( examplesRegExp . get ( 'output-6' ) ! )
204
+ stdout : expect . stringMatching ( examplesRegExp . get ( 'output-6' ) )
205
205
} ) ;
206
206
}
207
207
} ,
0 commit comments