mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 15:57:21 +01:00
feat(expect): makes expect work with pending higher order tests
This commit is contained in:
@ -22,6 +22,7 @@ test('visual snapshot of test suite on success', function () {
|
||||
$output = explode("\n", $output());
|
||||
array_pop($output);
|
||||
array_pop($output);
|
||||
|
||||
expect(file_get_contents($snapshot))->toContain(implode("\n", $output));
|
||||
}
|
||||
})->skip(!getenv('REBUILD_SNAPSHOTS') && getenv('EXCLUDE'))
|
||||
|
||||
Reference in New Issue
Block a user