You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/gatsby/src/utils/__tests__/__snapshots__/handle-flags.ts.snap
+21
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,25 @@
1
1
// Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
3
+
exports[`handle flags returns a message about unknown flags in the config 1`] =`
4
+
Object {
5
+
"enabledConfigFlags": Array [
6
+
Object {
7
+
"command": "all",
8
+
"description": "test",
9
+
"env": "GATSBY_EXPERIMENTAL_SOMETHING_COOL",
10
+
"name": "ALL_COMMANDS",
11
+
"umbrellaIssue": "test",
12
+
},
13
+
],
14
+
"message": "The following flags are active:
15
+
-ALL_COMMANDS · (UmbrellaIssue (test)) · test
16
+
",
17
+
"unknownFlagMessage": "The following flag(s) found in your gatsby-config.js are not known:
18
+
-FASTLY_DEV (didyoumean: FAST_DEV)
19
+
-SUPER_COOL_FLAG",
20
+
}
21
+
`;
22
+
3
23
exports[`handle flags returns validConfigFlags and a message 1`] =`
4
24
Object {
5
25
"enabledConfigFlags": Array [
@@ -42,5 +62,6 @@ Object {
42
62
-DEV_SSR · (UmbrellaIssue (https://github.com/gatsbyjs/gatsby/discussions/28138)) · SSR pages on full reloads during develop. Helps you detect SSR bugs and fix them without needing to do full builds.
43
63
-QUERY_ON_DEMAND · (UmbrellaIssue (https://github.com/gatsbyjs/gatsby/discussions/27620)) · Only run queries when needed instead of running all queries upfront. Speeds starting the develop server.
0 commit comments