Skip to content

Commit 7d42634

Browse files
authored
move examples together, fix statsig not being initialized (#398)
1 parent 9eb2ae1 commit 7d42634

105 files changed

Lines changed: 157 additions & 153 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.changeset/shaggy-colts-yawn.md

Lines changed: 8 additions & 0 deletions

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion

.vscode/launch.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@
1111
"debugWebviews": true,
1212
"args": [
1313
"${workspaceFolder}/examples",
14-
"${workspaceFolder}/examples-private",
15-
"${workspaceFolder}/examples-private/test-fixture/src/scene.tsx",
14+
"${workspaceFolder}/examples/test-fixture/src/scene.tsx",
1615
"--new-window",
1716
"--extensionDevelopmentPath=${workspaceFolder}/apps/vscode",
1817
"--enable-coi"

apps/electron/__tests__/utils/runner.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ const test = _test.extend<{
109109
}>({
110110
electron: async ({ file }, use, testInfo) => {
111111
const { app, logs, window } = await launch(
112-
file.project || "examples-private/test-fixture",
112+
file.project || "examples/test-fixture",
113113
file,
114114
);
115115
const page = new EditorPage(window, testInfo);

apps/vscode/__tests__/camera-0.e2e.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ test("play mode defaults to default camera", async ({ vsce }) => {
2020

2121
test.describe(() => {
2222
test.use({
23-
filename: "examples-private/test-fixture/src/react-roots.tsx",
23+
filename: "examples/test-fixture/src/react-roots.tsx",
2424
});
2525

2626
test("default to default camera for react root", async ({ vsce }) => {

apps/vscode/__tests__/camera-1.e2e.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { test } from "./utils/runner";
99

1010
test.describe(() => {
1111
test.use({
12-
filename: "examples-private/test-fixture/src/react-roots.tsx",
12+
filename: "examples/test-fixture/src/react-roots.tsx",
1313
});
1414

1515
test("switch to editor camera when viewing react-dom component", async ({

apps/vscode/__tests__/commands.e2e.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ test("backspacing in an input does not delete the element", async ({
8888

8989
test.describe(() => {
9090
test.use({
91-
filename: "examples-private/test-fixture/src/component-roots.tsx",
91+
filename: "examples/test-fixture/src/component-roots.tsx",
9292
});
9393

9494
test("updating children prop", async ({ getFile, vsce }) => {

apps/vscode/__tests__/controls.e2e.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ test("lights turned on", async ({ vsce }) => {
6666

6767
test.describe(() => {
6868
test.use({
69-
filename: "examples-private/test-fixture/src/react-roots.tsx",
69+
filename: "examples/test-fixture/src/react-roots.tsx",
7070
});
7171

7272
test("remove three fiber controls when switching to a no canvas component", async ({

apps/vscode/__tests__/diagnostics.e2e.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { test } from "./utils/runner";
99

1010
test.describe(() => {
1111
test.use({
12-
filename: "examples-private/test-fixture/src/geometry/syntax-error.tsx",
12+
filename: "examples/test-fixture/src/geometry/syntax-error.tsx",
1313
});
1414

1515
test("should show syntax error splash when opening", async ({ vsce }) => {

apps/vscode/__tests__/dynamic-roots.e2e.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { test } from "./utils/runner";
99

1010
test.describe(() => {
1111
test.use({
12-
filename: "examples-private/test-fixture/src/react-roots.tsx",
12+
filename: "examples/test-fixture/src/react-roots.tsx",
1313
});
1414

1515
test("component with canvas component and sibling HTML", async ({ vsce }) => {
@@ -39,7 +39,7 @@ test.describe(() => {
3939

4040
test.describe(() => {
4141
test.use({
42-
filename: "examples-private/test-fixture/src/component-roots.tsx",
42+
filename: "examples/test-fixture/src/component-roots.tsx",
4343
});
4444

4545
test("component with three react root from another module", async ({
@@ -69,7 +69,7 @@ test.describe(() => {
6969

7070
test.describe(() => {
7171
test.use({
72-
filename: "examples-private/test-fixture/src/selection-edge-case.tsx",
72+
filename: "examples/test-fixture/src/selection-edge-case.tsx",
7373
});
7474

7575
test("unknown custom component but resolved host elements", async ({

0 commit comments

Comments
 (0)