mirror of
https://github.com/pestphp/pest.git
synced 2026-03-07 00:07:22 +01:00
feat: improves error handling
This commit is contained in:
@ -91,7 +91,7 @@ final class TestSuite
|
||||
}
|
||||
|
||||
if (! self::$instance instanceof self) {
|
||||
throw new InvalidPestCommand();
|
||||
Panic::with(new InvalidPestCommand());
|
||||
}
|
||||
|
||||
return self::$instance;
|
||||
|
||||
Reference in New Issue
Block a user