Tag: laravel

A basic InertiaJS test macro

I've made a macro for the Illuminate\Testing\TestResponse class that I put into the TestCase.php file which is a part of pingcrm-svelte. I currently use this short macro in basically all HTTP tests for Inertia related endpoints in Laravel, so unless I am doing something wrong, it…

CORS problems with InertiaJS and Browsersync

InertiaJS is a really impressive approach to building fullstack web applications. I've probably first heard about it in the Javascript Jabber from devchat.tv in episode 443. Adopting it was really straightforward as I had previous experiences with Laravel, TailwindCSS and Svelte …

A dead-simple Laravel test watcher

I am spoiled by the many test watchers from the javascript world that do all the file change watching and polling on your behalf, to rerun the tests the moment you save a particular file. This feature usually comes out of the box, especially with the more complex tools like Jest …

A recent css-loader in Laravel Breeze problem

Installing Laravel Breeze following its documentation yesterday made a sudden turn downwards, as I did not expect that to happen in the Laravel ecosystem. However, the problem is connected to the javascript and npm side of the coin, where hoping for the best and expecting the wor…