-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #25241 from storybookjs/shilman/fix-sveltekit-envi…
…ronment-story Build: Ignore changing `version` in SvelteKit story (cherry picked from commit 5854e5a)
- Loading branch information
1 parent
1bb4147
commit 2ea6489
Showing
2 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
code/frameworks/sveltekit/template/stories_svelte-kit-skeleton-js/Environment.svelte
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
4 changes: 2 additions & 2 deletions
4
code/frameworks/sveltekit/template/stories_svelte-kit-skeleton-ts/Environment.svelte
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |