expect not resolving in mocha even after mocha definitely type library added
Why isn't expect resolving here?

I import expect into my tests using a test helper I created:
import React from 'react'
import ReactDOM from 'react-dom'
import chai from 'chai'
import Enzyme from 'enzyme';
import Adapter from 'enzyme-adapter-react-16'
import chaiEnzyme from 'chai-enzyme'
import { shallow, mount } from 'enzyme'
import { Provider } from 'react-redux'
import { createStore } from 'redux';
Enzyme.configure({ adapter: new Adapter() })
chai.use(chaiEnzyme())
require('./jsdom')
const expect = require('chai').expect
export {
expect
...rest of my exports
}
Then I import it into my test files like this:
import {React, expect, shallow, initStore} from '../../test.imports';
but for some reason even after that and after mocha definitely typed is enabled, still getting this:

请先登录再写评论。
can't recreate using similar syntax; the only installed typings are the ones for chai and jest (npm i @types/chai @types/jest):
sample project that shows up the issue would be helpful
well I don't use or like Jest. Oh well, doesn't make sense regardless. Thanks