ajbogh / ajbogh/import_loop_flow_bug

Flow fails with "Super expression must either be null or a function, not undefined"

Aperta
#1 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
0
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

When running the test Flowtype fails with the following error, however Typescript passes:

```
> jest

FAIL __tests__/layout-engine.test.js
● Test suite failed to run

TypeError: Super expression must either be null or a function, not undefined

at _inherits (src/flowtype/none.js:14:113)
at src/flowtype/none.js:19:3
at Object. (src/flowtype/none.js:28:2)
at Object. (src/flowtype/layout-engine-config.js:2:1)
at Object. (src/flowtype/graph-view.js:2:1)
at Object. (src/flowtype/layout-engine.js:2:1)
at Object. (__tests__/layout-engine.test.js:1:1)

PASS __tests__/layout-engine.test.ts

Test Suites: 1 failed, 1 passed, 2 total
Tests: 1 passed, 1 total
```

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.