From d26af3da4f2419e868e70b65c61c6f69649f1798 Mon Sep 17 00:00:00 2001 From: Sam Light Date: Mon, 31 Mar 2025 23:49:06 +0100 Subject: Created test for components --- tests/Feature/ComponentsTest.php | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 tests/Feature/ComponentsTest.php diff --git a/tests/Feature/ComponentsTest.php b/tests/Feature/ComponentsTest.php new file mode 100644 index 0000000..d2ba126 --- /dev/null +++ b/tests/Feature/ComponentsTest.php @@ -0,0 +1,32 @@ +blade( + '' + ); + $view->assertSee(sprintf( + '', + asset('dist/main.testing.css') + ), false); +}); + +it('render footer', function() { + $view = $this->blade( + '' + ); + $view->assertSee(sprintf( + '', + asset('dist/main.testing.js') + ), false); +}); -- cgit v1.2.3