@@ -33,7 +33,7 @@ describe('foundation', () => {
33
33
const addressElement = daiElement ! . querySelector (
34
34
FIRST_PRIV_ADDRESS_QUERY
35
35
) ;
36
- expect ( get104DetailsLine ( daiElement ! , addressElement ! ) ) . to . be . equals (
36
+ expect ( get104DetailsLine ( daiElement ! , addressElement ! ) ) . to . be . equal (
37
37
'casdu: 100, ioa: 4, ti: 62'
38
38
) ;
39
39
} ) ;
@@ -45,7 +45,7 @@ describe('foundation', () => {
45
45
const addressElement = daiElement ! . querySelector (
46
46
FIRST_PRIV_ADDRESS_QUERY
47
47
) ;
48
- expect ( get104DetailsLine ( daiElement ! , addressElement ! ) ) . to . be . equals (
48
+ expect ( get104DetailsLine ( daiElement ! , addressElement ! ) ) . to . be . equal (
49
49
'casdu: 101, ioa: 1, ti: 30, expectedValue: 1 (Ok)'
50
50
) ;
51
51
} ) ;
@@ -57,7 +57,7 @@ describe('foundation', () => {
57
57
const addressElement = daiElement ! . querySelector (
58
58
FIRST_PRIV_ADDRESS_QUERY
59
59
) ;
60
- expect ( get104DetailsLine ( daiElement ! , addressElement ! ) ) . to . be . equals (
60
+ expect ( get104DetailsLine ( daiElement ! , addressElement ! ) ) . to . be . equal (
61
61
'casdu: 202, ioa: 3, ti: 58, check: interlocking'
62
62
) ;
63
63
} ) ;
@@ -69,7 +69,7 @@ describe('foundation', () => {
69
69
const addressElement = daiElement ! . querySelector (
70
70
FIRST_PRIV_ADDRESS_QUERY
71
71
) ;
72
- expect ( get104DetailsLine ( daiElement ! , addressElement ! ) ) . to . be . equals (
72
+ expect ( get104DetailsLine ( daiElement ! , addressElement ! ) ) . to . be . equal (
73
73
'casdu: 1, ioa: 2, ti: 30, inverted: true'
74
74
) ;
75
75
} ) ;
@@ -80,7 +80,7 @@ describe('foundation', () => {
80
80
const doiElement = document . querySelector (
81
81
'IED[name="B2"] LN0[lnType="SE_LLN0_SET_default_V001"] DOI[name="Beh"]'
82
82
) ;
83
- expect ( getFullPath ( doiElement ! , 'IED' ) ) . to . be . equals (
83
+ expect ( getFullPath ( doiElement ! , 'IED' ) ) . to . be . equal (
84
84
'AP1 / LD0 / LLN0 / Beh'
85
85
) ;
86
86
} ) ;
@@ -89,7 +89,7 @@ describe('foundation', () => {
89
89
const daiElement = document . querySelector (
90
90
'IED[name="B1"] LN0[lnType="SE_LLN0_SET_V001"] DAI[name="ctlVal"]'
91
91
) ;
92
- expect ( getFullPath ( daiElement ! , 'DOI' ) ) . to . be . equals ( 'Oper / ctlVal' ) ;
92
+ expect ( getFullPath ( daiElement ! , 'DOI' ) ) . to . be . equal ( 'Oper / ctlVal' ) ;
93
93
} ) ;
94
94
} ) ;
95
95
@@ -99,15 +99,15 @@ describe('foundation', () => {
99
99
const doiElement = document . querySelector (
100
100
'IED[name="B2"] LN0[lnType="SE_LLN0_SET_default_V001"] DOI[name="Beh"]'
101
101
) ;
102
- expect ( getCdcValue ( doiElement ! ) ) . to . be . equals ( 'ENS' ) ;
102
+ expect ( getCdcValue ( doiElement ! ) ) . to . be . equal ( 'ENS' ) ;
103
103
} ) ;
104
104
105
105
it ( 'returns expected value for CDC "ENC"' , ( ) => {
106
106
// Basic test to see if CDC is retrieved correctly.
107
107
const doiElement = document . querySelector (
108
108
'IED[name="B1"] LN0[lnType="SE_LLN0_SET_V001"] DOI[name="Mod"]'
109
109
) ;
110
- expect ( getCdcValue ( doiElement ! ) ) . to . be . equals ( 'ENC' ) ;
110
+ expect ( getCdcValue ( doiElement ! ) ) . to . be . equal ( 'ENC' ) ;
111
111
} ) ;
112
112
} ) ;
113
113
0 commit comments