質問編集履歴
2
エラー内容を記述
test
CHANGED
File without changes
|
test
CHANGED
@@ -6,7 +6,51 @@
|
|
6
6
|
|
7
7
|
しかし、npm test を実行したら、以下のようなエラーが出てきてしまいます。
|
8
8
|
|
9
|
+
|
10
|
+
|
11
|
+
```ここに言語を入力
|
12
|
+
|
13
|
+
FAIL ./Storyshots.test.js
|
14
|
+
|
15
|
+
● Test suite failed to run
|
16
|
+
|
17
|
+
|
18
|
+
|
19
|
+
C:…\node_modules\storybook-addon-vue-info\lib\index.js:25
|
20
|
+
|
21
|
+
import Vue from 'vue';
|
22
|
+
|
23
|
+
^^^
|
24
|
+
|
25
|
+
|
26
|
+
|
27
|
+
SyntaxError: Unexpected identifier
|
28
|
+
|
29
|
+
|
30
|
+
|
31
|
+
4 | import { action } from "@storybook/addon-actions";
|
32
|
+
|
33
|
+
5 | import { addDecorator, configure } from "@storybook/vue";
|
34
|
+
|
35
|
+
> 6 | import { withInfo } from "storybook-addon-vue-info";
|
36
|
+
|
37
|
+
| ^
|
38
|
+
|
39
|
+
7 | import { withNotes } from "@storybook/addon-notes";
|
40
|
+
|
41
|
+
8 | import requireContext from 'require-context.macro';
|
42
|
+
|
43
|
+
9 |
|
44
|
+
|
45
|
+
|
46
|
+
|
47
|
+
at ScriptTransformer._transformAndBuildScript (node_modules/@jest/transform/build/ScriptTransformer.js:471:17)
|
48
|
+
|
49
|
+
at ScriptTransformer.transform (node_modules/@jest/transform/build/ScriptTransformer.js:513:25)
|
50
|
+
|
9
|
-
|
51
|
+
at Object.<anonymous> (.storybook/config.js:6:1)
|
52
|
+
|
53
|
+
```
|
10
54
|
|
11
55
|
|
12
56
|
|
1
誤字の修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
|
11
11
|
|
12
12
|
|
13
|
-
storybook-addon-vue-infoをimportしたことが原因のようですが、正直、対応方法がわからないので、どなたか教えてくだい。
|
13
|
+
storybook-addon-vue-infoをimportしたことが原因のようですが、正直、対応方法がわからないので、どなたか教えてください。
|
14
14
|
|
15
15
|
|
16
16
|
|