Skip to content

Commit 5d8c4d2

Browse files
committed
fix: move snap test comments inline after commands
1 parent 8dd418f commit 5d8c4d2

4 files changed

Lines changed: 4 additions & 8 deletions

File tree

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
> # Test that plugins loaded via async vitePlugins() are applied during build
21
> vp build
3-
> cat dist/index.html | grep 'lazy-plugin-injected'
2+
> cat dist/index.html | grep 'lazy-plugin-injected' # async vitePlugins() should apply plugins during build
43
<!-- lazy-plugin-injected --></body>
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
{
22
"commands": [
3-
"# Test that plugins loaded via async vitePlugins() are applied during build",
43
{
54
"command": "vp build",
65
"ignoreOutput": true
76
},
8-
"cat dist/index.html | grep 'lazy-plugin-injected'"
7+
"cat dist/index.html | grep 'lazy-plugin-injected' # async vitePlugins() should apply plugins during build"
98
]
109
}
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
> # Test that plugins loaded via sync vitePlugins() are applied during build
21
> vp build
3-
> cat dist/index.html | grep 'sync-plugin-injected'
2+
> cat dist/index.html | grep 'sync-plugin-injected' # sync vitePlugins() should apply plugins during build
43
<!-- sync-plugin-injected --></body>
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
{
22
"commands": [
3-
"# Test that plugins loaded via sync vitePlugins() are applied during build",
43
{
54
"command": "vp build",
65
"ignoreOutput": true
76
},
8-
"cat dist/index.html | grep 'sync-plugin-injected'"
7+
"cat dist/index.html | grep 'sync-plugin-injected' # sync vitePlugins() should apply plugins during build"
98
]
109
}

0 commit comments

Comments
 (0)