Closed
Description
TypeScript Version: master commit 47bee47
Code
var expect = require('expect.js');
import React from 'react';
import { mount } from 'enzyme';
require('../setup');
var Amount = require('../../src/js/components/amount');
describe('<Failed />', () => {
var history
beforeEach(() => {
history = createMemoryHistory();
sinon.spy(history, 'pushState');
});
afterEach(() => {
})
it('redirects to order summary', () => {
});
});
StackTrace
Info 61 request: {"command":"format","seq":"517","arguments":{"file":"....../failed-test.jsx","line":1,"offset":1,"endLine":21,"endOffset":1}}
Err 62 Exception on executing command {"command":"format","seq":"517","arguments":{"file":"....../failed-test.jsx","line":1,"offset":1,"endLine":21,"endOffset":1}}:
Cannot read property 'kind' of undefined
TypeError: Cannot read property 'kind' of undefined
at Object.nodeWillIndentChild (/Users/ananthakumaran/work/repos/tide/tsserver/tsserver.js:52385:48)
at getEffectiveDelta (/Users/ananthakumaran/work/repos/tide/tsserver/tsserver.js:51442:53)
at Object.getDelta (/Users/ananthakumaran/work/repos/tide/tsserver/tsserver.js:51422:57)
at computeIndentation (/Users/ananthakumaran/work/repos/tide/tsserver/tsserver.js:51346:83)
at processChildNode (/Users/ananthakumaran/work/repos/tide/tsserver/tsserver.js:51519:44)
at /Users/ananthakumaran/work/repos/tide/tsserver/tsserver.js:51465:21
at visitNode (/Users/ananthakumaran/work/repos/tide/tsserver/tsserver.js:9015:20)
at Object.forEachChild (/Users/ananthakumaran/work/repos/tide/tsserver/tsserver.js:9292:21)
at processNode (/Users/ananthakumaran/work/repos/tide/tsserver/tsserver.js:51464:20)
at processChildNode (/Users/ananthakumaran/work/repos/tide/tsserver/tsserver.js:51520:21)
Info 63 response: {"seq":0,"type":"response","command":"format","request_seq":"517","success":false,"message":"Error processing request. Cannot read property 'kind' of undefined\nTypeError: Cannot read property 'kind' of undefined\n at Object.nodeWillIndentChild (/Users/ananthakumaran/work/repos/tide/tsserver/tsserver.js:52385:48)\n at getEffectiveDelta (/Users/ananthakumaran/work/repos/tide/tsserver/tsserver.js:51442:53)\n at Object.getDelta (/Users/ananthakumaran/work/repos/tide/tsserver/tsserver.js:51422:57)\n at computeIndentation (/Users/ananthakumaran/work/repos/tide/tsserver/tsserver.js:51346:83)\n at processChildNode (/Users/ananthakumaran/work/repos/tide/tsserver/tsserver.js:51519:44)\n at /Users/ananthakumaran/work/repos/tide/tsserver/tsserver.js:51465:21\n at visitNode (/Users/ananthakumaran/work/repos/tide/tsserver/tsserver.js:9015:20)\n at Object.forEachChild (/Users/ananthakumaran/work/repos/tide/tsserver/tsserver.js:9292:21)\n at processNode (/Users/ananthakumaran/work/repos/tide/tsserver/tsserver.js:51464:20)\n at processChildNode (/Users/ananthakumaran/work/repos/tide/tsserver/tsserver.js:51520:21)"}