From 17e242a5f60d55de7b7e2cc24fb6bd858a2ccec4 Mon Sep 17 00:00:00 2001 From: Nuno Maduro Date: Mon, 20 Mar 2023 16:08:14 +0000 Subject: [PATCH] tests: windows global functions --- tests/Environments/Windows.php | 6 ++++++ tests/Pest.php | 4 ++++ 2 files changed, 10 insertions(+) create mode 100644 tests/Environments/Windows.php diff --git a/tests/Environments/Windows.php b/tests/Environments/Windows.php new file mode 100644 index 00000000..c646a7e0 --- /dev/null +++ b/tests/Environments/Windows.php @@ -0,0 +1,6 @@ +toBeString(); +}); + diff --git a/tests/Pest.php b/tests/Pest.php index d0f656bd..40095334 100644 --- a/tests/Pest.php +++ b/tests/Pest.php @@ -25,3 +25,7 @@ uses() $_SERVER['globalHook']->calls->afterAll++; }) ->in('Hooks'); + +function helper_returns_string() { + return 'string'; +}