We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c7cc4dd commit 32737a7Copy full SHA for 32737a7
1 file changed
scripts/test.ts
@@ -250,6 +250,11 @@ export default function (args: ParsedArgs, logger: logging.Logger) {
250
}));
251
252
logger.info(`Found ${tests.length} spec files, out of ${allTests.length}.`);
253
+
254
+ if (tests.length === 0) {
255
+ logger.info('No test to run, exiting... You might want to rerun with "--full".');
256
+ process.exit('CI' in process.env ? 1 : 0);
257
+ }
258
}
259
260
0 commit comments