We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a894f7 commit 2935dafCopy full SHA for 2935daf
packages/app/src/app/components/Preview/DevTools/Tests/index.js
@@ -233,6 +233,13 @@ class Tests extends React.Component<Props, State> {
233
234
this.setState(
235
immer(this.state, state => {
236
+ if (!state.files[data.path]) {
237
+ state.files[data.path] = {
238
+ tests: {},
239
+ fileName: data.path,
240
+ };
241
+ }
242
+
243
const currentTest =
244
state.files[test.path].tests[testName.join('||||')];
245
if (!currentTest) {
0 commit comments