Skip to content

Commit

Permalink
Merge pull request #25241 from storybookjs/shilman/fix-sveltekit-envi…
Browse files Browse the repository at this point in the history
…ronment-story

Build: Ignore changing `version` in SvelteKit story
(cherry picked from commit 5854e5a)
  • Loading branch information
shilman authored and storybook-bot committed Dec 18, 2023
1 parent 1bb4147 commit 7f91d9b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<script>
import { browser, dev, building, version } from '$app/environment';
import { browser, dev, building, version } from '$app/environment';
</script>

<div data-testid="browser">{browser}</div>
<div data-testid="dev">{dev}</div>
<div data-testid="building">{building}</div>
<div data-testid="version">{version}</div>
<div data-testid="version" data-chromatic="ignore">{version}</div>
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<script>
import { browser, dev, building, version } from '$app/environment';
import { browser, dev, building, version } from '$app/environment';
</script>

<div data-testid="browser">{browser}</div>
<div data-testid="dev">{dev}</div>
<div data-testid="building">{building}</div>
<div data-testid="version">{version}</div>
<div data-testid="version" data-chromatic="ignore">{version}</div>

0 comments on commit 7f91d9b

Please sign in to comment.