diff --git a/config/watcher.ts b/config/watcher.ts index 1235e0e9c..5e4938a90 100644 --- a/config/watcher.ts +++ b/config/watcher.ts @@ -4,6 +4,8 @@ import { Config, LongRunningExecutor, } from "../scripts/watcher"; +// Ensure environment variables are read. +import "./env"; const config: Config = { rootDir: path.resolve(__dirname, "../src"), @@ -42,9 +44,7 @@ const config: Config = { }, runDocz: { paths: [], - executor: new LongRunningExecutor( - "NODE_ENV=development npm run docz -- dev" - ), + executor: new LongRunningExecutor("npm run docz -- dev"), }, }, defaultSet: "client", diff --git a/src/core/client/stream/components/Comment/__snapshots__/TopBar.spec.tsx.snap b/src/core/client/stream/components/Comment/__snapshots__/TopBar.spec.tsx.snap index 9253404bd..02f3c7726 100644 --- a/src/core/client/stream/components/Comment/__snapshots__/TopBar.spec.tsx.snap +++ b/src/core/client/stream/components/Comment/__snapshots__/TopBar.spec.tsx.snap @@ -2,7 +2,7 @@ exports[`renders correctly on big screens 1`] = `
Joining Too
@@ -86,7 +86,7 @@ exports[`loads more comments 1`] = ` className="Flex-root TopBar-root Flex-halfItemGutter Flex-alignBaseline Flex-directionColumn" > Lukas @@ -99,7 +99,7 @@ exports[`loads more comments 1`] = `What's up?
@@ -115,7 +115,7 @@ exports[`loads more comments 1`] = ` className="Flex-root TopBar-root Flex-halfItemGutter Flex-alignBaseline Flex-directionColumn" > Isabelle @@ -128,7 +128,7 @@ exports[`loads more comments 1`] = `Hey!
@@ -141,13 +141,13 @@ exports[`loads more comments 1`] = ` exports[`renders comment stream 1`] = `Joining Too
@@ -225,7 +225,7 @@ exports[`renders comment stream 1`] = ` className="Flex-root TopBar-root Flex-halfItemGutter Flex-alignBaseline Flex-directionColumn" > Lukas @@ -238,7 +238,7 @@ exports[`renders comment stream 1`] = `What's up?
@@ -246,7 +246,7 @@ exports[`renders comment stream 1`] = `Joining Too
@@ -86,7 +86,7 @@ exports[`renders comment stream 1`] = ` className="Flex-root TopBar-root Flex-halfItemGutter Flex-alignBaseline Flex-directionColumn" > Markus @@ -99,7 +99,7 @@ exports[`renders comment stream 1`] = `I like yoghurt
@@ -119,7 +119,7 @@ exports[`renders comment stream 1`] = ` className="Flex-root TopBar-root Flex-halfItemGutter Flex-alignBaseline Flex-directionColumn" > Markus @@ -132,7 +132,7 @@ exports[`renders comment stream 1`] = `Joining Too
@@ -144,7 +144,7 @@ exports[`renders comment stream 1`] = ` className="Flex-root TopBar-root Flex-halfItemGutter Flex-alignBaseline Flex-directionColumn" > Lukas @@ -157,7 +157,7 @@ exports[`renders comment stream 1`] = `What's up?
diff --git a/src/core/client/stream/test/__snapshots__/renderStream.spec.tsx.snap b/src/core/client/stream/test/__snapshots__/renderStream.spec.tsx.snap index 433957511..0290e7f21 100644 --- a/src/core/client/stream/test/__snapshots__/renderStream.spec.tsx.snap +++ b/src/core/client/stream/test/__snapshots__/renderStream.spec.tsx.snap @@ -2,13 +2,13 @@ exports[`renders comment stream 1`] = `Joining Too
@@ -86,7 +86,7 @@ exports[`renders comment stream 1`] = ` className="Flex-root TopBar-root Flex-halfItemGutter Flex-alignBaseline Flex-directionColumn" > Lukas @@ -99,7 +99,7 @@ exports[`renders comment stream 1`] = `What's up?
diff --git a/src/core/client/stream/test/__snapshots__/showAllReplies.spec.tsx.snap b/src/core/client/stream/test/__snapshots__/showAllReplies.spec.tsx.snap index a8570269a..3fcf31abb 100644 --- a/src/core/client/stream/test/__snapshots__/showAllReplies.spec.tsx.snap +++ b/src/core/client/stream/test/__snapshots__/showAllReplies.spec.tsx.snap @@ -2,13 +2,13 @@ exports[`renders comment stream 1`] = `Joining Too
@@ -90,7 +90,7 @@ exports[`renders comment stream 1`] = ` className="Flex-root TopBar-root Flex-halfItemGutter Flex-alignBaseline Flex-directionColumn" > Lukas @@ -103,14 +103,14 @@ exports[`renders comment stream 1`] = `What's up?
Joining Too
@@ -221,7 +221,7 @@ exports[`show all replies 1`] = ` className="Flex-root TopBar-root Flex-halfItemGutter Flex-alignBaseline Flex-directionColumn" > Lukas @@ -234,7 +234,7 @@ exports[`show all replies 1`] = `What's up?
@@ -246,7 +246,7 @@ exports[`show all replies 1`] = ` className="Flex-root TopBar-root Flex-halfItemGutter Flex-alignBaseline Flex-directionColumn" > Isabelle @@ -259,7 +259,7 @@ exports[`show all replies 1`] = `Hey!
diff --git a/src/core/client/ui/components/BaseButton/BaseButton.tsx b/src/core/client/ui/components/BaseButton/BaseButton.tsx index 45c2c7985..28399c1af 100644 --- a/src/core/client/ui/components/BaseButton/BaseButton.tsx +++ b/src/core/client/ui/components/BaseButton/BaseButton.tsx @@ -27,9 +27,6 @@ interface InnerProps extends ButtonHTMLAttributes