Skip to content

Commit

Permalink
Update test to use new search page implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Dec 15, 2023
1 parent 38608b8 commit 9c10059
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/realtime-compiler/tests/RealtimeCompilerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,8 @@
});

test('docs/search renders search page', function () {
Filesystem::put('_docs/index.md', '# Hello World!');

mockRoute('docs/search');

$kernel = new HttpKernel();
Expand All @@ -175,6 +177,7 @@

expect($response->body)->toContain('Search the documentation site');

Filesystem::unlink('_docs/index.md');
Filesystem::unlink('_site/docs/search.html');
});

Expand Down

0 comments on commit 9c10059

Please sign in to comment.