Skip to content

Commit

Permalink
Merge branch 'main' of github.com:stephenjude/filament-debugger
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenjude committed Sep 25, 2024
2 parents 6eed5e2 + 04987c8 commit 56ee72e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All notable changes to `filament-debugger` will be documented in this file.

## 3.1.1 - 2024-09-22

- Fixed issue #32

## 3.1.0 - 2024-09-13

- Added Laravel Pulse
Expand Down
16 changes: 7 additions & 9 deletions tests/DebuggerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,18 @@
->toThrow(Exception::class);
});

it('groups plugin navigation items', function () {

});
it('groups plugin navigation items', function () {});

it('customizes telescope navigation', function () {
$plugin = DebuggerPlugin::make()
->horizonNavigation(false)
->pulseNavigation(false)
->telescopeNavigation(
condition: fn() => true,
condition: fn () => true,
label: 'Laravel Telescope',
icon: 'heroicon-o-users',
url: 'telescope/requests',
openInNewTab: fn() => false
openInNewTab: fn () => false
);

expect($plugin->hasHorizon())->toBeFalse();
Expand All @@ -50,11 +48,11 @@
->telescopeNavigation(false)
->pulseNavigation(false)
->horizonNavigation(
condition: fn() => true,
condition: fn () => true,
label: 'Laravel Horizon',
icon: 'heroicon-o-users',
url: url('horizon/requests'),
openInNewTab: fn() => false
openInNewTab: fn () => false
);

expect($plugin->hasPulse())->toBeFalse();
Expand All @@ -77,11 +75,11 @@
->horizonNavigation(false)
->telescopeNavigation(false)
->pulseNavigation(
condition: fn() => true,
condition: fn () => true,
label: 'Laravel Pulse',
icon: 'heroicon-o-users',
url: 'pulse/requests',
openInNewTab: fn() => false
openInNewTab: fn () => false
);

expect($plugin->hasHorizon())->toBeFalse();
Expand Down

0 comments on commit 56ee72e

Please sign in to comment.