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
  • Loading branch information
shilman authored Dec 15, 2023
2 parents 9d767ef + 05efeae commit 5854e5a
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 5854e5a

Please sign in to comment.