@animaapp/anima-sdk-react 0.2.8 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.storybook/main.ts +25 -0
- package/.storybook/preview.ts +13 -0
- package/.turbo/turbo-build.log +5 -5
- package/.turbo/turbo-dev.log +48 -0
- package/.turbo/turbo-test.log +161 -0
- package/dist/index.cjs +6 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +3 -2
- package/dist/index.js +4377 -4366
- package/dist/index.js.map +1 -1
- package/package.json +19 -6
- package/src/stories/useAnimaCodegen.stories.tsx +222 -0
- package/src/useAnimaCodegen.ts +44 -39
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { join, dirname } from "path";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* This function is used to resolve the absolute path of a package.
|
|
5
|
+
* It is needed in projects that use Yarn PnP or are set up within a monorepo.
|
|
6
|
+
*/
|
|
7
|
+
function getAbsolutePath(value) {
|
|
8
|
+
return dirname(require.resolve(join(value, "package.json")));
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
/** @type { import('@storybook/react-vite').StorybookConfig } */
|
|
12
|
+
const config = {
|
|
13
|
+
stories: ["../src/**/*.mdx", "../src/**/*.stories.@(js|jsx|mjs|ts|tsx)"],
|
|
14
|
+
addons: [
|
|
15
|
+
getAbsolutePath("@storybook/addon-essentials"),
|
|
16
|
+
getAbsolutePath("@storybook/addon-onboarding"),
|
|
17
|
+
getAbsolutePath("@chromatic-com/storybook"),
|
|
18
|
+
getAbsolutePath("@storybook/addon-interactions"),
|
|
19
|
+
],
|
|
20
|
+
framework: {
|
|
21
|
+
name: getAbsolutePath("@storybook/react-vite"),
|
|
22
|
+
options: {},
|
|
23
|
+
},
|
|
24
|
+
};
|
|
25
|
+
export default config;
|
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
|
|
2
2
|
[36mvite v6.0.11 [32mbuilding for production...[36m[39m
|
|
3
|
-
[2K[1Gtransforming (1) [2msrc/index.ts[22m[2K[1G../node_modules/swr/dist/_internal/config-context-client-Cm1JTDEP.mjs (1:0): Module level directives cause errors when bundled, "use client" in "../node_modules/swr/dist/_internal/config-context-client-Cm1JTDEP.mjs" was ignored.
|
|
3
|
+
[2K[1Gtransforming (1) [2msrc/index.ts[22m[2K[1Gtransforming (13) [2m../node_modules/swr/dist/_internal/constants.mjs[22m[2K[1G../node_modules/swr/dist/_internal/config-context-client-Cm1JTDEP.mjs (1:0): Module level directives cause errors when bundled, "use client" in "../node_modules/swr/dist/_internal/config-context-client-Cm1JTDEP.mjs" was ignored.
|
|
4
4
|
[2K[1G[32m✓[39m 25 modules transformed.
|
|
5
5
|
[2K[1Grendering chunks (1)...[2K[1G[32m
|
|
6
6
|
[36m[vite:dts][32m Start generate declaration files...[39m
|
|
7
|
-
[2K[1Gcomputing gzip size (0)...[2K[1Gcomputing gzip size (1)...[2K[1G[2mdist/[22m[36mindex.cjs [39m[1m[
|
|
7
|
+
[2K[1Gcomputing gzip size (0)...[2K[1Gcomputing gzip size (1)...[2K[1G[2mdist/[22m[36mindex.cjs [39m[1m[2m113.03 kB[22m[1m[22m[2m │ gzip: 32.99 kB[22m[2m │ map: 416.13 kB[22m
|
|
8
8
|
[32m[36m[vite:dts][32m Start rollup declaration files...[39m
|
|
9
9
|
Analysis will use the bundled TypeScript version 5.7.2
|
|
10
|
-
[32m[36m[vite:dts][32m Declaration files built in
|
|
10
|
+
[32m[36m[vite:dts][32m Declaration files built in 2349ms.
|
|
11
11
|
[39m
|
|
12
|
-
[2K[1Grendering chunks (1)...[2K[1G[2K[1Gcomputing gzip size (1)...[2K[1G[2mdist/[22m[36mindex.js [39m[1m[2m167.
|
|
13
|
-
[32m✓ built in 2.
|
|
12
|
+
[2K[1Grendering chunks (1)...[2K[1G[2K[1Gcomputing gzip size (1)...[2K[1G[2mdist/[22m[36mindex.js [39m[1m[2m167.32 kB[22m[1m[22m[2m │ gzip: 41.60 kB[22m[2m │ map: 433.44 kB[22m
|
|
13
|
+
[32m✓ built in 2.82s[39m
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
|
|
2
|
+
Debugger listening on ws://127.0.0.1:55824/e986c11e-da68-43dc-b346-1128e146a7cf
|
|
3
|
+
For help, see: https://nodejs.org/en/docs/inspector
|
|
4
|
+
Debugger attached.
|
|
5
|
+
Debugger listening on ws://127.0.0.1:55837/86d83af6-408f-454a-bb79-047072081990
|
|
6
|
+
For help, see: https://nodejs.org/en/docs/inspector
|
|
7
|
+
Debugger attached.
|
|
8
|
+
[1m@storybook/core v8.6.6[22m[0m
|
|
9
|
+
[0m
|
|
10
|
+
[32minfo[0m[35m[0m => Starting manager..
|
|
11
|
+
[0m[30;43mWARN[0m[35m[0m No story files found for the specified pattern: [34msrc/**/*.mdx[39m
|
|
12
|
+
[0m[32minfo[0m[35m[0m => Starting preview..
|
|
13
|
+
[0m[32minfo[0m[35m[0m Using tsconfig paths for react-docgen
|
|
14
|
+
[0m[38;2;241;97;140m╭──────────────────────────────────────────────────────────────────────────────────────────╮[39m
|
|
15
|
+
[38;2;241;97;140m│[39m [38;2;241;97;140m│[39m
|
|
16
|
+
[38;2;241;97;140m│[39m [38;2;162;224;94mStorybook [1m8.6.6[22m for [1mreact-vite[22m started[39m [38;2;241;97;140m│[39m
|
|
17
|
+
[38;2;241;97;140m│[39m [90m[4m195 ms[24m for manager and [4m1.39 s[24m for preview[39m [38;2;241;97;140m│[39m
|
|
18
|
+
[38;2;241;97;140m│[39m [38;2;241;97;140m│[39m
|
|
19
|
+
[38;2;241;97;140m│[39m Local: [36mhttp://localhost:6006/[39m [38;2;241;97;140m│[39m
|
|
20
|
+
[38;2;241;97;140m│[39m On your network: [36mhttp://10.16.22.162:6006/[39m [38;2;241;97;140m│[39m
|
|
21
|
+
[38;2;241;97;140m│[39m [38;2;241;97;140m│[39m
|
|
22
|
+
[38;2;241;97;140m│[39m [38;2;243;173;56mA new version ([1m8.6.7[22m) is available![39m [38;2;241;97;140m│[39m
|
|
23
|
+
[38;2;241;97;140m│[39m [38;2;241;97;140m│[39m
|
|
24
|
+
[38;2;241;97;140m│[39m [90mUpgrade now:[39m [38;2;162;224;94mnpx storybook@latest upgrade[39m [38;2;241;97;140m│[39m
|
|
25
|
+
[38;2;241;97;140m│[39m [38;2;241;97;140m│[39m
|
|
26
|
+
[38;2;241;97;140m│[39m [90mRead full changelog:[39m [90m[4mhttps://github.com/storybookjs/storybook/blob/main/CHANGELOG.md[24m[39m [38;2;241;97;140m│[39m
|
|
27
|
+
[38;2;241;97;140m│[39m [38;2;241;97;140m│[39m
|
|
28
|
+
[38;2;241;97;140m╰──────────────────────────────────────────────────────────────────────────────────────────╯[39m
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
[1;1H[0J[2m7:24:47 PM[22m [36m[1m[vite][22m[39m [90m[2m(client)[22m[39m [32mpage reload [39m[2msrc/stories/useAnimaCodegen.stories.tsx[22m
|
|
48
|
+
Waiting for the debugger to disconnect...
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
|
|
2
|
+
[1m[2mDetermining test suites to run...[22m[22m[999D[K
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
[0m[7m[33m[1m RUNS [22m[39m[27m[0m [0m[7m[33m browser: chromium [39m[27m[0m [2msrc/stories/[22m[1museAnimaCodegen.stories.tsx[22m
|
|
6
|
+
|
|
7
|
+
[0m[7m[33m[1m RUNS [22m[39m[27m[0m [0m[7m[33m browser: chromium [39m[27m[0m [2msrc/stories/[22m[1museAnimaCodegen.stories.tsx[22m
|
|
8
|
+
|
|
9
|
+
[0m[7m[33m[1m RUNS [22m[39m[27m[0m [0m[7m[33m browser: chromium [39m[27m[0m [2msrc/stories/[22m[1museAnimaCodegen.stories.tsx[22m
|
|
10
|
+
|
|
11
|
+
[0m[7m[33m[1m RUNS [22m[39m[27m[0m [0m[7m[33m browser: chromium [39m[27m[0m [2msrc/stories/[22m[1museAnimaCodegen.stories.tsx[22m
|
|
12
|
+
|
|
13
|
+
[0m[7m[33m[1m RUNS [22m[39m[27m[0m [0m[7m[33m browser: chromium [39m[27m[0m [2msrc/stories/[22m[1museAnimaCodegen.stories.tsx[22m
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
[0m[7m[33m[1m RUNS [22m[39m[27m[0m [0m[7m[33m browser: chromium [39m[27m[0m [2msrc/stories/[22m[1museAnimaCodegen.stories.tsx[22m
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
[0m[7m[33m[1m RUNS [22m[39m[27m[0m [0m[7m[33m browser: chromium [39m[27m[0m [2msrc/stories/[22m[1museAnimaCodegen.stories.tsx[22m
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
[0m[7m[33m[1m RUNS [22m[39m[27m[0m [0m[7m[33m browser: chromium [39m[27m[0m [2msrc/stories/[22m[1museAnimaCodegen.stories.tsx[22m
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
[0m[7m[33m[1m RUNS [22m[39m[27m[0m [0m[7m[33m browser: chromium [39m[27m[0m [2msrc/stories/[22m[1museAnimaCodegen.stories.tsx[22m
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
[0m[7m[33m[1m RUNS [22m[39m[27m[0m [0m[7m[33m browser: chromium [39m[27m[0m [2msrc/stories/[22m[1museAnimaCodegen.stories.tsx[22m
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
[0m[7m[33m[1m RUNS [22m[39m[27m[0m [0m[7m[33m browser: chromium [39m[27m[0m [2msrc/stories/[22m[1museAnimaCodegen.stories.tsx[22m
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
[0m[7m[33m[1m RUNS [22m[39m[27m[0m [0m[7m[33m browser: chromium [39m[27m[0m [2msrc/stories/[22m[1museAnimaCodegen.stories.tsx[22m
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
[0m[7m[33m[1m RUNS [22m[39m[27m[0m [0m[7m[33m browser: chromium [39m[27m[0m [2msrc/stories/[22m[1museAnimaCodegen.stories.tsx[22m
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
[0m[7m[33m[1m RUNS [22m[39m[27m[0m [0m[7m[33m browser: chromium [39m[27m[0m [2msrc/stories/[22m[1museAnimaCodegen.stories.tsx[22m
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
[0m[7m[33m[1m RUNS [22m[39m[27m[0m [0m[7m[33m browser: chromium [39m[27m[0m [2msrc/stories/[22m[1museAnimaCodegen.stories.tsx[22m
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
[0m[7m[33m[1m RUNS [22m[39m[27m[0m [0m[7m[33m browser: chromium [39m[27m[0m [2msrc/stories/[22m[1museAnimaCodegen.stories.tsx[22m
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
page.evaluate: StorybookTestRunnerError:
|
|
50
|
+
An error occurred in the following story. Access the link for full output:
|
|
51
|
+
http://127.0.0.1:6006/?path=/story/hooks-useanimacodegen--success&addonPanel=storybook/interactions/panel
|
|
52
|
+
|
|
53
|
+
Message:
|
|
54
|
+
expected null to match object { sessionId: Anything, …(4) }
|
|
55
|
+
[2m[22m
|
|
56
|
+
[2m [0m[0m[22m
|
|
57
|
+
[2m[22m
|
|
58
|
+
[2m [2mat [22m[2m[0m[36msdk-react/src/stories/useAnimaCodegen.stories.tsx[39m[0m[2m:217:58[22m[2m[22m
|
|
59
|
+
[2m [2mat step ([22m[2m[0m[36msdk-react/src/stories/useAnimaCodegen.stories.tsx[39m[0m[2m:161:23)[22m[2m[22m
|
|
60
|
+
[2m [2mat Object.next ([22m[2m[0m[36msdk-react/src/stories/useAnimaCodegen.stories.tsx[39m[0m[2m:102:20)[22m[2m[22m
|
|
61
|
+
[2m [2mat asyncGeneratorStep ([22m[2m[0m[36msdk-react/src/stories/useAnimaCodegen.stories.tsx[39m[0m[2m:4:28)[22m[2m[22m
|
|
62
|
+
[2m [2mat _next ([22m[2m[0m[36msdk-react/src/stories/useAnimaCodegen.stories.tsx[39m[0m[2m:22:17)[22m[2m[22m
|
|
63
|
+
[2m [2mat [22m[2m[0m[36msdk-react/src/stories/useAnimaCodegen.stories.tsx[39m[0m[2m:27:13[22m[2m[22m
|
|
64
|
+
[2m [2mat [22m[2m[0m[36msdk-react/src/stories/useAnimaCodegen.stories.tsx[39m[0m[2m:19:16[22m[2m[22m
|
|
65
|
+
[2m [2mat testFn ([22m[2m[0m[36msdk-react/src/stories/useAnimaCodegen.stories.tsx[39m[0m[2m:302:49)[22m[2m[22m
|
|
66
|
+
[2m [2mat Object.<anonymous> ([22m[2m[0m[36msdk-react/src/stories/useAnimaCodegen.stories.tsx[39m[0m[2m:315:33)[22m[2m[22m
|
|
67
|
+
[2m [2mat step ([22m[2m[0m[36msdk-react/src/stories/useAnimaCodegen.stories.tsx[39m[0m[2m:161:23)[22m[2m[22m
|
|
68
|
+
[2m [2mat Object.next ([22m[2m[0m[36msdk-react/src/stories/useAnimaCodegen.stories.tsx[39m[0m[2m:102:20)[22m[2m[22m
|
|
69
|
+
[2m [2mat asyncGeneratorStep ([22m[2m[0m[36msdk-react/src/stories/useAnimaCodegen.stories.tsx[39m[0m[2m:4:28)[22m[2m[22m
|
|
70
|
+
[2m [2mat _next ([22m[2m[0m[36msdk-react/src/stories/useAnimaCodegen.stories.tsx[39m[0m[2m:22:17)[22m[2m[22m
|
|
71
|
+
[2m [2mat [22m[2m[0m[36msdk-react/src/stories/useAnimaCodegen.stories.tsx[39m[0m[2m:27:13[22m[2m[22m
|
|
72
|
+
[2m [2mat Object.<anonymous> ([22m[2m[0m[36msdk-react/src/stories/useAnimaCodegen.stories.tsx[39m[0m[2m:19:16)[22m[2m[22m
|
|
73
|
+
|
|
74
|
+
[1m[31m [1m● [22m[1mHooks/useAnimaCodegen › InvalidBody › play-test[39m[22m
|
|
75
|
+
|
|
76
|
+
page.evaluate: StorybookTestRunnerError:
|
|
77
|
+
An error occurred in the following story. Access the link for full output:
|
|
78
|
+
http://127.0.0.1:6006/?path=/story/hooks-useanimacodegen--invalid-body&addonPanel=storybook/interactions/panel
|
|
79
|
+
|
|
80
|
+
Message:
|
|
81
|
+
expected { name: 'TypeError', …(1) } to match object { …(4) }
|
|
82
|
+
[2m[22m
|
|
83
|
+
[2m [0m[0m[22m
|
|
84
|
+
[2m[22m
|
|
85
|
+
[2m [2mat [22m[2m[0m[36msdk-react/src/stories/useAnimaCodegen.stories.tsx[39m[0m[2m:404:58[22m[2m[22m
|
|
86
|
+
[2m [2mat step ([22m[2m[0m[36msdk-react/src/stories/useAnimaCodegen.stories.tsx[39m[0m[2m:161:23)[22m[2m[22m
|
|
87
|
+
[2m [2mat Object.next ([22m[2m[0m[36msdk-react/src/stories/useAnimaCodegen.stories.tsx[39m[0m[2m:102:20)[22m[2m[22m
|
|
88
|
+
[2m [2mat asyncGeneratorStep ([22m[2m[0m[36msdk-react/src/stories/useAnimaCodegen.stories.tsx[39m[0m[2m:4:28)[22m[2m[22m
|
|
89
|
+
[2m [2mat _next ([22m[2m[0m[36msdk-react/src/stories/useAnimaCodegen.stories.tsx[39m[0m[2m:22:17)[22m[2m[22m
|
|
90
|
+
[2m [2mat [22m[2m[0m[36msdk-react/src/stories/useAnimaCodegen.stories.tsx[39m[0m[2m:27:13[22m[2m[22m
|
|
91
|
+
[2m [2mat [22m[2m[0m[36msdk-react/src/stories/useAnimaCodegen.stories.tsx[39m[0m[2m:19:16[22m[2m[22m
|
|
92
|
+
[2m [2mat testFn ([22m[2m[0m[36msdk-react/src/stories/useAnimaCodegen.stories.tsx[39m[0m[2m:489:49)[22m[2m[22m
|
|
93
|
+
[2m [2mat Object.<anonymous> ([22m[2m[0m[36msdk-react/src/stories/useAnimaCodegen.stories.tsx[39m[0m[2m:502:33)[22m[2m[22m
|
|
94
|
+
[2m [2mat step ([22m[2m[0m[36msdk-react/src/stories/useAnimaCodegen.stories.tsx[39m[0m[2m:161:23)[22m[2m[22m
|
|
95
|
+
[2m [2mat Object.next ([22m[2m[0m[36msdk-react/src/stories/useAnimaCodegen.stories.tsx[39m[0m[2m:102:20)[22m[2m[22m
|
|
96
|
+
[2m [2mat asyncGeneratorStep ([22m[2m[0m[36msdk-react/src/stories/useAnimaCodegen.stories.tsx[39m[0m[2m:4:28)[22m[2m[22m
|
|
97
|
+
[2m [2mat _next ([22m[2m[0m[36msdk-react/src/stories/useAnimaCodegen.stories.tsx[39m[0m[2m:22:17)[22m[2m[22m
|
|
98
|
+
[2m [2mat [22m[2m[0m[36msdk-react/src/stories/useAnimaCodegen.stories.tsx[39m[0m[2m:27:13[22m[2m[22m
|
|
99
|
+
[2m [2mat Object.<anonymous> ([22m[2m[0m[36msdk-react/src/stories/useAnimaCodegen.stories.tsx[39m[0m[2m:19:16)[22m[2m[22m
|
|
100
|
+
|
|
101
|
+
[1m[31m [1m● [22m[1mHooks/useAnimaCodegen › NotFoundFile › play-test[39m[22m
|
|
102
|
+
|
|
103
|
+
page.evaluate: StorybookTestRunnerError:
|
|
104
|
+
An error occurred in the following story. Access the link for full output:
|
|
105
|
+
http://127.0.0.1:6006/?path=/story/hooks-useanimacodegen--not-found-file&addonPanel=storybook/interactions/panel
|
|
106
|
+
|
|
107
|
+
Message:
|
|
108
|
+
expected { name: 'TypeError', …(1) } to match object { name: 'Task Crashed', …(1) }
|
|
109
|
+
[2m[22m
|
|
110
|
+
[2m [0m[0m[22m
|
|
111
|
+
[2m[22m
|
|
112
|
+
[2m [2mat [22m[2m[0m[36msdk-react/src/stories/useAnimaCodegen.stories.tsx[39m[0m[2m:591:58[22m[2m[22m
|
|
113
|
+
[2m [2mat step ([22m[2m[0m[36msdk-react/src/stories/useAnimaCodegen.stories.tsx[39m[0m[2m:161:23)[22m[2m[22m
|
|
114
|
+
[2m [2mat Object.next ([22m[2m[0m[36msdk-react/src/stories/useAnimaCodegen.stories.tsx[39m[0m[2m:102:20)[22m[2m[22m
|
|
115
|
+
[2m [2mat asyncGeneratorStep ([22m[2m[0m[36msdk-react/src/stories/useAnimaCodegen.stories.tsx[39m[0m[2m:4:28)[22m[2m[22m
|
|
116
|
+
[2m [2mat _next ([22m[2m[0m[36msdk-react/src/stories/useAnimaCodegen.stories.tsx[39m[0m[2m:22:17)[22m[2m[22m
|
|
117
|
+
[2m [2mat [22m[2m[0m[36msdk-react/src/stories/useAnimaCodegen.stories.tsx[39m[0m[2m:27:13[22m[2m[22m
|
|
118
|
+
[2m [2mat [22m[2m[0m[36msdk-react/src/stories/useAnimaCodegen.stories.tsx[39m[0m[2m:19:16[22m[2m[22m
|
|
119
|
+
[2m [2mat testFn ([22m[2m[0m[36msdk-react/src/stories/useAnimaCodegen.stories.tsx[39m[0m[2m:676:49)[22m[2m[22m
|
|
120
|
+
[2m [2mat Object.<anonymous> ([22m[2m[0m[36msdk-react/src/stories/useAnimaCodegen.stories.tsx[39m[0m[2m:689:33)[22m[2m[22m
|
|
121
|
+
[2m [2mat step ([22m[2m[0m[36msdk-react/src/stories/useAnimaCodegen.stories.tsx[39m[0m[2m:161:23)[22m[2m[22m
|
|
122
|
+
[2m [2mat Object.next ([22m[2m[0m[36msdk-react/src/stories/useAnimaCodegen.stories.tsx[39m[0m[2m:102:20)[22m[2m[22m
|
|
123
|
+
[2m [2mat asyncGeneratorStep ([22m[2m[0m[36msdk-react/src/stories/useAnimaCodegen.stories.tsx[39m[0m[2m:4:28)[22m[2m[22m
|
|
124
|
+
[2m [2mat _next ([22m[2m[0m[36msdk-react/src/stories/useAnimaCodegen.stories.tsx[39m[0m[2m:22:17)[22m[2m[22m
|
|
125
|
+
[2m [2mat [22m[2m[0m[36msdk-react/src/stories/useAnimaCodegen.stories.tsx[39m[0m[2m:27:13[22m[2m[22m
|
|
126
|
+
[2m [2mat Object.<anonymous> ([22m[2m[0m[36msdk-react/src/stories/useAnimaCodegen.stories.tsx[39m[0m[2m:19:16)[22m[2m[22m
|
|
127
|
+
|
|
128
|
+
[1m[31m [1m● [22m[1mHooks/useAnimaCodegen › InvalidSelectedNode › play-test[39m[22m
|
|
129
|
+
|
|
130
|
+
page.evaluate: StorybookTestRunnerError:
|
|
131
|
+
An error occurred in the following story. Access the link for full output:
|
|
132
|
+
http://127.0.0.1:6006/?path=/story/hooks-useanimacodegen--invalid-selected-node&addonPanel=storybook/interactions/panel
|
|
133
|
+
|
|
134
|
+
Message:
|
|
135
|
+
expected { name: 'TypeError', …(1) } to match object { name: 'Task Crashed', …(1) }
|
|
136
|
+
[2m[22m
|
|
137
|
+
[2m [0m[0m[22m
|
|
138
|
+
[2m[22m
|
|
139
|
+
[2m [2mat [22m[2m[0m[36msdk-react/src/stories/useAnimaCodegen.stories.tsx[39m[0m[2m:778:58[22m[2m[22m
|
|
140
|
+
[2m [2mat step ([22m[2m[0m[36msdk-react/src/stories/useAnimaCodegen.stories.tsx[39m[0m[2m:161:23)[22m[2m[22m
|
|
141
|
+
[2m [2mat Object.next ([22m[2m[0m[36msdk-react/src/stories/useAnimaCodegen.stories.tsx[39m[0m[2m:102:20)[22m[2m[22m
|
|
142
|
+
[2m [2mat asyncGeneratorStep ([22m[2m[0m[36msdk-react/src/stories/useAnimaCodegen.stories.tsx[39m[0m[2m:4:28)[22m[2m[22m
|
|
143
|
+
[2m [2mat _next ([22m[2m[0m[36msdk-react/src/stories/useAnimaCodegen.stories.tsx[39m[0m[2m:22:17)[22m[2m[22m
|
|
144
|
+
[2m [2mat [22m[2m[0m[36msdk-react/src/stories/useAnimaCodegen.stories.tsx[39m[0m[2m:27:13[22m[2m[22m
|
|
145
|
+
[2m [2mat [22m[2m[0m[36msdk-react/src/stories/useAnimaCodegen.stories.tsx[39m[0m[2m:19:16[22m[2m[22m
|
|
146
|
+
[2m [2mat testFn ([22m[2m[0m[36msdk-react/src/stories/useAnimaCodegen.stories.tsx[39m[0m[2m:863:49)[22m[2m[22m
|
|
147
|
+
[2m [2mat Object.<anonymous> ([22m[2m[0m[36msdk-react/src/stories/useAnimaCodegen.stories.tsx[39m[0m[2m:876:33)[22m[2m[22m
|
|
148
|
+
[2m [2mat step ([22m[2m[0m[36msdk-react/src/stories/useAnimaCodegen.stories.tsx[39m[0m[2m:161:23)[22m[2m[22m
|
|
149
|
+
[2m [2mat Object.next ([22m[2m[0m[36msdk-react/src/stories/useAnimaCodegen.stories.tsx[39m[0m[2m:102:20)[22m[2m[22m
|
|
150
|
+
[2m [2mat asyncGeneratorStep ([22m[2m[0m[36msdk-react/src/stories/useAnimaCodegen.stories.tsx[39m[0m[2m:4:28)[22m[2m[22m
|
|
151
|
+
[2m [2mat _next ([22m[2m[0m[36msdk-react/src/stories/useAnimaCodegen.stories.tsx[39m[0m[2m:22:17)[22m[2m[22m
|
|
152
|
+
[2m [2mat [22m[2m[0m[36msdk-react/src/stories/useAnimaCodegen.stories.tsx[39m[0m[2m:27:13[22m[2m[22m
|
|
153
|
+
[2m [2mat Object.<anonymous> ([22m[2m[0m[36msdk-react/src/stories/useAnimaCodegen.stories.tsx[39m[0m[2m:19:16)[22m[2m[22m
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
[0m[7m[33m[1m RUNS [22m[39m[27m[0m [0m[7m[33m browser: chromium [39m[27m[0m [2msrc/stories/[22m[1museAnimaCodegen.stories.tsx[22m
|
|
157
|
+
|
|
158
|
+
[1mTests: [22m[1m[31m4 failed[39m[22m, 4 total
|
|
159
|
+
[1mSnapshots: [22m0 total
|
|
160
|
+
[1mTime:[22m 1.07 s
|
|
161
|
+
[2mRan all test suites[22m[2m.[22m
|