From a738dffb1bf146399916d26c151bca252d517c00 Mon Sep 17 00:00:00 2001 From: Sam Light Date: Mon, 31 Mar 2025 23:21:14 +0100 Subject: Created FileTest --- tests/Unit/FileTest.php | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 tests/Unit/FileTest.php (limited to 'tests/Unit/FileTest.php') diff --git a/tests/Unit/FileTest.php b/tests/Unit/FileTest.php new file mode 100644 index 0000000..d1c4bf4 --- /dev/null +++ b/tests/Unit/FileTest.php @@ -0,0 +1,19 @@ +toHtml())->toBe(''); +}); + +test('style file html', function() { + $file = new StyleFile('test.css'); + expect($file->toHtml())->toBe(''); +}); + +test('script file hash', function() { + $file = new ScriptFile('test.js'); + expect($file->hash())->toBeString(); +}); -- cgit v1.2.3