chore: bumps expectation plugin

This commit is contained in:
Nuno Maduro
2021-06-10 18:40:38 +01:00
parent 17d407a26a
commit b682fe631d
3 changed files with 4 additions and 4 deletions

View File

@ -8,11 +8,11 @@ beforeAll(function () use ($foo) {
});
it('gets executed before tests', function () use ($foo) {
expect($foo->bar)->toBe(1);
expect($foo)->bar->toBe(1);
$foo->bar = 'changed';
});
it('do not get executed before each test', function () use ($foo) {
expect($foo->bar)->toBe('changed');
expect($foo)->bar->toBe('changed');
});