mirror of
https://github.com/pestphp/pest.git
synced 2026-03-12 02:37:22 +01:00
Removes isInParallel
This commit is contained in:
@ -1,15 +0,0 @@
|
||||
<?php
|
||||
|
||||
use Pest\TestSuite;
|
||||
|
||||
it('can determine in the test case if it is running in parallel', function () {
|
||||
expect(test()->isInParallel())->toBeTrue();
|
||||
})->skip(!TestSuite::getInstance()->isInParallel);
|
||||
|
||||
it('can determine in the test case if it is not running in parallel', function () {
|
||||
expect(test()->isInParallel())->toBeFalse();
|
||||
})->skip(TestSuite::getInstance()->isInParallel);
|
||||
|
||||
it('can skip using the test case based on parallel status', function () {
|
||||
expect(TestSuite::getInstance()->isInParallel)->toBeFalse();
|
||||
})->skip(function () { return $this->isInParallel(); });
|
||||
Reference in New Issue
Block a user