@@ -764,6 +764,10 @@ describe('volume', () => {
764
764
if ( hasBigInt ) {
765
765
const stats = vol . lstatSync ( '/dojo.js' , { bigint : true } ) ;
766
766
expect ( typeof stats . ino ) . toBe ( 'bigint' ) ;
767
+ expect ( typeof stats . atimeNs ) . toBe ( 'bigint' ) ;
768
+ expect ( typeof stats . mtimeNs ) . toBe ( 'bigint' ) ;
769
+ expect ( typeof stats . ctimeNs ) . toBe ( 'bigint' ) ;
770
+ expect ( typeof stats . birthtimeNs ) . toBe ( 'bigint' ) ;
767
771
} else {
768
772
expect ( ( ) => vol . lstatSync ( '/dojo.js' , { bigint : true } ) ) . toThrowError ( ) ;
769
773
}
@@ -795,6 +799,10 @@ describe('volume', () => {
795
799
if ( hasBigInt ) {
796
800
const stats = vol . statSync ( '/dojo.js' , { bigint : true } ) ;
797
801
expect ( typeof stats . ino ) . toBe ( 'bigint' ) ;
802
+ expect ( typeof stats . atimeNs ) . toBe ( 'bigint' ) ;
803
+ expect ( typeof stats . mtimeNs ) . toBe ( 'bigint' ) ;
804
+ expect ( typeof stats . ctimeNs ) . toBe ( 'bigint' ) ;
805
+ expect ( typeof stats . birthtimeNs ) . toBe ( 'bigint' ) ;
798
806
} else {
799
807
expect ( ( ) => vol . statSync ( '/dojo.js' , { bigint : true } ) ) . toThrowError ( ) ;
800
808
}
@@ -839,6 +847,10 @@ describe('volume', () => {
839
847
if ( hasBigInt ) {
840
848
const stats = vol . fstatSync ( fd , { bigint : true } ) ;
841
849
expect ( typeof stats . ino ) . toBe ( 'bigint' ) ;
850
+ expect ( typeof stats . atimeNs ) . toBe ( 'bigint' ) ;
851
+ expect ( typeof stats . mtimeNs ) . toBe ( 'bigint' ) ;
852
+ expect ( typeof stats . ctimeNs ) . toBe ( 'bigint' ) ;
853
+ expect ( typeof stats . birthtimeNs ) . toBe ( 'bigint' ) ;
842
854
} else {
843
855
expect ( ( ) => vol . fstatSync ( fd , { bigint : true } ) ) . toThrowError ( ) ;
844
856
}
0 commit comments