Skip to content

Commit df116ce

Browse files
committed
chore: dummy failure test
1 parent 1d1ab5b commit df116ce

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

tests/unit-test/utils_test.js

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -122,26 +122,26 @@ function testPad() {
122122
}
123123
}
124124

125-
// function testDummyFailure1() {
126-
// throw 'Test Dummy 1.\n' +
127-
// 'Actual: ' + 'Success' + '\n' +
128-
// 'Expected: ' + 'Failure';
129-
// }
125+
function testDummyFailure1() {
126+
throw 'Test Dummy 1.\n' +
127+
'Actual: ' + 'Success' + '\n' +
128+
'Expected: ' + 'Failure';
129+
}
130130

131-
// function testDummyFailure2() {
132-
// throw 'Test Dummy 2.\n' +
133-
// 'Actual: ' + 'Success' + '\n' +
134-
// 'Expected: ' + 'Failure';
135-
// }
131+
function testDummyFailure2() {
132+
throw 'Test Dummy 2.\n' +
133+
'Actual: ' + 'Success' + '\n' +
134+
'Expected: ' + 'Failure';
135+
}
136136

137137

138138
async function test() {
139139
testAmzDatetime();
140140
testEightDigitDate();
141141
testPad();
142142
testParseArray();
143-
// testDummyFailure1();
144-
// testDummyFailure2();
143+
testDummyFailure1();
144+
testDummyFailure2();
145145
}
146146

147147
function printHeader(testName) {

0 commit comments

Comments
 (0)