File tree 3 files changed +591
-1226
lines changed
3 files changed +591
-1226
lines changed Original file line number Diff line number Diff line change 31
31
"@types/chai" : " ^4.2.7" ,
32
32
"@types/mocha" : " ^9.1.1" ,
33
33
"@types/node" : " ^18.7.11" ,
34
+ "@typescript-eslint/eslint-plugin" : " ^5.34.0" ,
35
+ "@typescript-eslint/parser" : " ^5.34.0" ,
34
36
"chai" : " ^4.2.0" ,
37
+ "eslint" : " ^8.22.0" ,
35
38
"mocha" : " ^10.0.0" ,
36
39
"ts-node" : " ^10.9.1" ,
37
40
"typescript" : " ^4.7.4" ,
Original file line number Diff line number Diff line change @@ -4,13 +4,13 @@ import { Fruit } from './fruit';
4
4
import { expect } from 'chai' ;
5
5
import 'mocha' ;
6
6
7
- export const EOL = " \r\n" ;
7
+ export const EOL = ' \r\n' ;
8
8
9
9
describe ( 'String.IsNullOrWhitespace' , ( ) => {
10
10
11
11
it ( 'should return true on null string' , ( ) => {
12
12
const teststring : string | null = null ;
13
- let result = String . IsNullOrWhiteSpace ( teststring ! ) ;
13
+ let result = String . IsNullOrWhiteSpace ( teststring ) ;
14
14
expect ( result ) . to . equal ( true ) ;
15
15
result = String . isNullOrWhiteSpace ( teststring ) ;
16
16
expect ( result ) . to . equal ( true ) ;
You can’t perform that action at this time.
0 commit comments