@@ -768,15 +768,15 @@ describe('promises', () => {
768
768
it ( 'should be functions' , ( ) => {
769
769
const keys = Object . keys ( promises ) ;
770
770
for ( const key of keys ) {
771
- assert . typeOf ( promises [ key ] , 'function' ) ;
771
+ assert . strictEqual ( typeof promises [ key ] , 'function' ) ;
772
772
}
773
773
} ) ;
774
774
} ) ;
775
775
776
776
describe ( 'Compare SemVer (async)' , ( ) => {
777
777
const func = promises . compareSemVer ;
778
778
it ( 'should be function' , ( ) => {
779
- assert . typeOf ( func , 'function' ) ;
779
+ assert . strictEqual ( typeof func , 'function' ) ;
780
780
} ) ;
781
781
782
782
it ( 'should throw' , async ( ) => {
@@ -812,7 +812,7 @@ describe('Compare SemVer (async)', () => {
812
812
describe ( 'Is Valid SemVer String (async)' , ( ) => {
813
813
const func = promises . isValidSemVer ;
814
814
it ( 'should be function' , ( ) => {
815
- assert . typeOf ( func , 'function' ) ;
815
+ assert . strictEqual ( typeof func , 'function' ) ;
816
816
} ) ;
817
817
818
818
it ( 'should throw' , async ( ) => {
@@ -837,7 +837,7 @@ describe('Is Valid SemVer String (async)', () => {
837
837
describe ( 'Parse SemVer String (async)' , ( ) => {
838
838
const func = promises . parseSemVer ;
839
839
it ( 'should be function' , ( ) => {
840
- assert . typeOf ( func , 'function' ) ;
840
+ assert . strictEqual ( typeof func , 'function' ) ;
841
841
} ) ;
842
842
843
843
it ( 'should throw' , async ( ) => {
0 commit comments