@@ -298,7 +298,8 @@ if (process.platform === "win32") {
298
298
grantedScopes :
299
299
testAuthenticationResult . scopes . join ( " " ) ,
300
300
expiresOn :
301
- testAuthenticationResult . expiresOn ! . getTime ( ) ,
301
+ testAuthenticationResult . expiresOn ! . getTime ( ) /
302
+ 1000 , // Accounts for msalRuntime returning seconds
302
303
isPopAuthorization : false ,
303
304
account : testMsalRuntimeAccount ,
304
305
CheckError : ( ) => { } ,
@@ -351,7 +352,8 @@ if (process.platform === "win32") {
351
352
grantedScopes :
352
353
testAuthenticationResult . scopes . join ( " " ) ,
353
354
expiresOn :
354
- testAuthenticationResult . expiresOn ! . getTime ( ) ,
355
+ testAuthenticationResult . expiresOn ! . getTime ( ) /
356
+ 1000 ,
355
357
isPopAuthorization : true ,
356
358
account : testMsalRuntimeAccount ,
357
359
CheckError : ( ) => { } ,
@@ -431,7 +433,8 @@ if (process.platform === "win32") {
431
433
grantedScopes :
432
434
testAuthenticationResult . scopes . join ( " " ) ,
433
435
expiresOn :
434
- testAuthenticationResult . expiresOn ! . getTime ( ) ,
436
+ testAuthenticationResult . expiresOn ! . getTime ( ) /
437
+ 1000 ,
435
438
isPopAuthorization : false ,
436
439
account : testMsalRuntimeAccount ,
437
440
CheckError : ( ) => { } ,
@@ -617,7 +620,8 @@ if (process.platform === "win32") {
617
620
grantedScopes :
618
621
testAuthenticationResult . scopes . join ( " " ) ,
619
622
expiresOn :
620
- testAuthenticationResult . expiresOn ! . getTime ( ) ,
623
+ testAuthenticationResult . expiresOn ! . getTime ( ) /
624
+ 1000 ,
621
625
isPopAuthorization : false ,
622
626
account : testMsalRuntimeAccount ,
623
627
CheckError : ( ) => { } ,
@@ -669,7 +673,8 @@ if (process.platform === "win32") {
669
673
grantedScopes :
670
674
testAuthenticationResult . scopes . join ( " " ) ,
671
675
expiresOn :
672
- testAuthenticationResult . expiresOn ! . getTime ( ) ,
676
+ testAuthenticationResult . expiresOn ! . getTime ( ) /
677
+ 1000 ,
673
678
isPopAuthorization : true ,
674
679
account : testMsalRuntimeAccount ,
675
680
CheckError : ( ) => { } ,
@@ -749,7 +754,8 @@ if (process.platform === "win32") {
749
754
grantedScopes :
750
755
testAuthenticationResult . scopes . join ( " " ) ,
751
756
expiresOn :
752
- testAuthenticationResult . expiresOn ! . getTime ( ) ,
757
+ testAuthenticationResult . expiresOn ! . getTime ( ) /
758
+ 1000 ,
753
759
isPopAuthorization : false ,
754
760
account : testMsalRuntimeAccount ,
755
761
CheckError : ( ) => { } ,
@@ -824,7 +830,8 @@ if (process.platform === "win32") {
824
830
grantedScopes :
825
831
testAuthenticationResult . scopes . join ( " " ) ,
826
832
expiresOn :
827
- testAuthenticationResult . expiresOn ! . getTime ( ) ,
833
+ testAuthenticationResult . expiresOn ! . getTime ( ) /
834
+ 1000 ,
828
835
isPopAuthorization : false ,
829
836
account : testMsalRuntimeAccount ,
830
837
CheckError : ( ) => { } ,
@@ -879,7 +886,8 @@ if (process.platform === "win32") {
879
886
grantedScopes :
880
887
testAuthenticationResult . scopes . join ( " " ) ,
881
888
expiresOn :
882
- testAuthenticationResult . expiresOn ! . getTime ( ) ,
889
+ testAuthenticationResult . expiresOn ! . getTime ( ) /
890
+ 1000 ,
883
891
isPopAuthorization : false ,
884
892
account : testMsalRuntimeAccount ,
885
893
CheckError : ( ) => { } ,
@@ -934,7 +942,8 @@ if (process.platform === "win32") {
934
942
grantedScopes :
935
943
testAuthenticationResult . scopes . join ( " " ) ,
936
944
expiresOn :
937
- testAuthenticationResult . expiresOn ! . getTime ( ) ,
945
+ testAuthenticationResult . expiresOn ! . getTime ( ) /
946
+ 1000 ,
938
947
isPopAuthorization : false ,
939
948
account : testMsalRuntimeAccount ,
940
949
CheckError : ( ) => { } ,
@@ -989,7 +998,8 @@ if (process.platform === "win32") {
989
998
grantedScopes :
990
999
testAuthenticationResult . scopes . join ( " " ) ,
991
1000
expiresOn :
992
- testAuthenticationResult . expiresOn ! . getTime ( ) ,
1001
+ testAuthenticationResult . expiresOn ! . getTime ( ) /
1002
+ 1000 ,
993
1003
isPopAuthorization : false ,
994
1004
account : testMsalRuntimeAccount ,
995
1005
CheckError : ( ) => { } ,
@@ -1044,7 +1054,8 @@ if (process.platform === "win32") {
1044
1054
grantedScopes :
1045
1055
testAuthenticationResult . scopes . join ( " " ) ,
1046
1056
expiresOn :
1047
- testAuthenticationResult . expiresOn ! . getTime ( ) ,
1057
+ testAuthenticationResult . expiresOn ! . getTime ( ) /
1058
+ 1000 ,
1048
1059
isPopAuthorization : false ,
1049
1060
account : testMsalRuntimeAccount ,
1050
1061
CheckError : ( ) => { } ,
@@ -2000,7 +2011,8 @@ if (process.platform === "win32") {
2000
2011
grantedScopes :
2001
2012
testAuthenticationResult . scopes . join ( " " ) ,
2002
2013
expiresOn :
2003
- testAuthenticationResult . expiresOn ! . getTime ( ) ,
2014
+ testAuthenticationResult . expiresOn ! . getTime ( ) /
2015
+ 1000 ,
2004
2016
isPopAuthorization : false ,
2005
2017
account : testMsalRuntimeAccount ,
2006
2018
CheckError : ( ) => {
0 commit comments