summaryrefslogtreecommitdiff
path: root/tests/Feature
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Feature')
-rw-r--r--tests/Feature/TableTest.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/Feature/TableTest.php b/tests/Feature/TableTest.php
new file mode 100644
index 0000000..cd22fb6
--- /dev/null
+++ b/tests/Feature/TableTest.php
@@ -0,0 +1,16 @@
+<?php
+
+use Workbench\App\Livewire\ProductsTable;
+
+use Livewire\Livewire;
+
+describe('products table', function() {
+ it('does render', function() {
+ Livewire::test(ProductsTable::class)
+ ->assertSeeHtml('<table')
+ ->assertSeeHtml('<thead>')
+ ->assertSeeHtml('<tbody>')
+ ->assertSeeHtml('<th')
+ ->assertSeeHtml('<td');
+ });
+});