Skip to content

Commit

Permalink
update test case , solved ts lint. fixes#327
Browse files Browse the repository at this point in the history
  • Loading branch information
Ankit Bhanvadia committed Apr 13, 2017
1 parent d386ca0 commit 20bf3ee
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 13 deletions.
2 changes: 1 addition & 1 deletion Promact.Oauth.Server/src/Promact.Oauth.Server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
"rollup-plugin-node-resolve": "3.0.0",
"rollup-plugin-uglify": "1.0.1",
"systemjs-builder": "0.16.4",
"tslint": "5.0.0",
"tslint": "4.5.1",
"typescript": "2.2.2",
"typings": "2.1.1",
"gulp-ngc": "0.1.3",
Expand Down
8 changes: 4 additions & 4 deletions Promact.Oauth.Server/src/Promact.Oauth.Server/tslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@
false
],
"no-any": false,
"directive-selector-name": [ true, "camelCase" ],
"component-selector-name": [ true, "kebab-case" ],
"directive-selector-type": [ true, "attribute" ],
"component-selector-type": [ true, "element" ],
//"directive-selector-name": [ true, "camelCase" ],
//"component-selector-name": [ true, "kebab-case" ],
//"directive-selector-type": [ true, "attribute" ],
//"component-selector-type": [ true, "element" ],
"directive-selector-prefix": [ false, "wp" ],
"component-selector-prefix": [ false, "wp" ],
"use-input-property-decorator": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ import { MockToast } from "../../shared/mocks/mock.toast";
import { StringConstant } from '../../shared/stringconstant';

declare var describe, it, beforeEach, expect, spyOn;
let comp: ProjectListComponent;
let fixture: ComponentFixture<ProjectListComponent>;


describe("Project List Test", () => {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ import { StringConstant } from '../../shared/stringconstant';

@Component({
templateUrl: 'app/project/project-list/project-list.html',


})
export class ProjectListComponent implements OnInit {
projects: Array<ProjectModel>;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
import { Input, Directive } from '@angular/core';
import { Input, Directive, HostBinding } from '@angular/core';
@Directive({
selector: '[routerLink]',
host: {
'(click)': 'onClick()'
}
})
export class RouterLinkStubDirective {
@Input() linkParams: any;
navigatedTo: any = null;
@HostBinding('click') role = 'onClick()';

onClick() {
this.navigatedTo = this.linkParams;
Expand Down

0 comments on commit 20bf3ee

Please sign in to comment.