Skip to content

Commit ed47653

Browse files
Merge pull request #27 from forcedotcom/cristi/runApex
feat: runApexTests test in redhat
2 parents d3f5ef3 + d89f460 commit ed47653

9 files changed

+695
-59
lines changed

.mocharc.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"timeout": 240000,
2+
"timeout": 300000,
33
"reporter": "./lib/custom-summary-reporter.js"
44
}

test/selfSpecs/notifications.test.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,15 @@ describe('Notifications', async () => {
3737
utilities.Duration.seconds(2)
3838
);
3939
// eslint-disable-next-line @typescript-eslint/no-unused-expressions
40-
expect(isPresent).to.be.true;
40+
expect(isPresent).to.equal(true);
4141
await utilities.dismissNotification('Modify the file and retrieve again');
4242
await utilities.pause(utilities.Duration.seconds(1));
4343
const isNotPresent = await utilities.notificationIsAbsentWithTimeout(
4444
'Modify the file and retrieve again',
4545
utilities.Duration.seconds(1)
4646
);
4747
// eslint-disable-next-line @typescript-eslint/no-unused-expressions
48-
expect(isNotPresent).to.be.true;
48+
expect(isNotPresent).to.equal(true);
4949
await utilities.pause(utilities.Duration.seconds(2));
5050
});
5151
it('should show a notification with two actions', async () => {
@@ -55,7 +55,7 @@ describe('Notifications', async () => {
5555
utilities.Duration.seconds(1)
5656
);
5757
// eslint-disable-next-line @typescript-eslint/no-unused-expressions
58-
expect(isPresent).to.be.true;
58+
expect(isPresent).to.equal(true);
5959
await utilities.pause(utilities.Duration.seconds(1));
6060

6161
await utilities.acceptNotification('Choose an action:', 'A', utilities.Duration.seconds(1));
@@ -65,6 +65,6 @@ describe('Notifications', async () => {
6565
utilities.Duration.seconds(5)
6666
);
6767
// eslint-disable-next-line @typescript-eslint/no-unused-expressions
68-
expect(isNotPresent).to.be.true;
68+
expect(isNotPresent).to.equal(true);
6969
});
7070
});

0 commit comments

Comments
 (0)