mock(JavaScript::class, function ($mock) { $mock->shouldReceive('generate') ->with('en') ->atLeast(1) ->andReturn('en.js'); }); option([ 'custom_js' => '"
"