Hi,what are the packages needed to run the web part of mattermost?
D
dev1999
@dev1999
Posts
-
mattermost-webapp: "configureStore" This expression is not callable. -
mattermost-webapp: "configureStore" This expression is not callable.//problem
This expression is not callable.
Type 'StoreJsAPI' has no call signatures.ts(2349)
(alias) const configureStore: StoreJsAPI
import configureStore//code
for (let i = 0; i < testCases.length; i++) {
const testCase = testCases[i];test('at ' + i, async () => { const store = configureStore(initialState); const targetIndex = testCase.inChannelIds.indexOf('new'); const newIndex = Actions.adjustTargetIndexForMove(store.getState(), 'category1', ['new'], targetIndex, 'new'); const actualChannelIds = insertWithoutDuplicates(channelIds, 'new', newIndex); expect(actualChannelIds).toEqual(testCase.expectedChannelIds); }); }