ajbogh / ajbogh/import_loop_flow_bug

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

Open
#1 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

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
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.