Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
gwleuverink committed Aug 16, 2024
1 parent 5a3c3d6 commit faf5e5e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/Feature/InjectsAssetsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,20 @@
$this->get('test-inject-in-response')
->assertOk()
->assertSee('<!--[MAGIC_TODO-ASSETS]-->', false);
});
})->todo();

it('injects assets into html body when no head tag is present', function () {
Route::get('test-inject-in-response', fn () => '<html></html>');

$this->get('test-inject-in-response')
->assertOk()
->assertSee('<!--[MAGIC_TODO-ASSETS]-->', false);
});
})->todo();

it('doesnt inject assets into responses without a closing html tag', function () {
Route::get('test-inject-in-response', fn () => 'OK');

$this->get('test-inject-in-response')
->assertOk()
->assertDontSee('<!--[MAGIC_TODO-ASSETS]-->', false);
});
})->todo();

0 comments on commit faf5e5e

Please sign in to comment.