SimonTest icon indicating copy to clipboard operation
SimonTest copied to clipboard

Cannot read property 'text' of undefined

Open intellix opened this issue 9 years ago • 1 comments

When trying to generate tests for a component that has a method and parameters I'm getting: Cannot read property 'text' of undefined

I'm not sure which version of TypeScript this plugin is using, but VSC is using 2.2.1

Example:

import { Component, OnInit } from '@angular/core';

@Component({
  selector: 'xc-login',
  templateUrl: './login.component.html',
  styleUrls: ['./login.component.scss'],
})
export class LoginComponent {

  constructor() { }

  redirect(something: string) { }
}

intellix avatar Mar 24 '17 14:03 intellix

Ack! Sorry, for whatever reason I didn't get an email for this =(

Please update to v0.10.1

SimonTestNet avatar Mar 31 '17 16:03 SimonTestNet