Skip to content

Commit

Permalink
release: v2.24.1
Browse files Browse the repository at this point in the history
  • Loading branch information
nunomaduro committed Oct 26, 2023
1 parent e0939e3 commit fd4f161
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 115 deletions.
4 changes: 2 additions & 2 deletions src/Functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
*
* @template TValue
*
* @param TValue $value
* @return Expectation<TValue>
* @param TValue|null $value
* @return Expectation<TValue|null>
*/
function expect(mixed $value = null): Expectation
{
Expand Down
2 changes: 1 addition & 1 deletion src/Pest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

function version(): string
{
return '2.24.0';
return '2.24.1';
}

function testDirectory(string $file = ''): string
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

Pest Testing Framework 2.24.0.
Pest Testing Framework 2.24.1.

USAGE: pest <file> [options]

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@

Pest Testing Framework 2.24.0.
Pest Testing Framework 2.24.1.

10 changes: 1 addition & 9 deletions tests/.snapshots/success.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1120,17 +1120,9 @@
PASS Tests\Helpers\TestInHelpers
✓ it executes tests in the Helpers directory

PASS Tests\Hooks\AfterAllTest
✓ global afterAll execution order
✓ it only gets called once per file

PASS Tests\Hooks\AfterEachTest
✓ global afterEach execution order

PASS Tests\Hooks\BeforeAllTest
✓ global beforeAll execution order
✓ it only gets called once per file

PASS Tests\Hooks\BeforeEachTest
✓ global beforeEach execution order

Expand Down Expand Up @@ -1360,4 +1352,4 @@
WARN Tests\Visual\Version
- visual snapshot of help command output

Tests: 2 deprecated, 4 warnings, 5 incomplete, 2 notices, 13 todos, 19 skipped, 966 passed (2292 assertions)
Tests: 2 deprecated, 4 warnings, 5 incomplete, 2 notices, 13 todos, 19 skipped, 962 passed (2280 assertions)
45 changes: 0 additions & 45 deletions tests/Hooks/AfterAllTest.php

This file was deleted.

55 changes: 0 additions & 55 deletions tests/Hooks/BeforeAllTest.php

This file was deleted.

2 changes: 1 addition & 1 deletion tests/Visual/Parallel.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

test('parallel', function () use ($run) {
expect($run('--exclude-group=integration'))
->toContain('Tests: 1 deprecated, 4 warnings, 5 incomplete, 2 notices, 13 todos, 15 skipped, 955 passed (2277 assertions)')
->toContain('Tests: 1 deprecated, 4 warnings, 5 incomplete, 2 notices, 13 todos, 15 skipped, 951 passed (2265 assertions)')
->toContain('Parallel: 3 processes');
})->skipOnWindows();

Expand Down

0 comments on commit fd4f161

Please sign in to comment.