Skip to content

Commit ebab3e2

Browse files
committed
fix: Added test for maintainer configuration
1 parent 396145a commit ebab3e2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/ConfigurationTest.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ describe('The Configuration API', (): void => {
1919
chai.expect(configuration.checks[1].labels).to.contain('test2')
2020
chai.expect(configuration.checks[1].maxAge).to.eq(1234)
2121

22+
chai.expect(configuration.maintainer).to.have.lengthOf(1)
23+
2224
chai.expect(configuration.notificationBodyTemplate).to.eq(MockServer.NOTIFICATION_BODY)
2325
chai.expect(configuration.notificationSubjectTemplate).to.eq(MockServer.NOTIFICATION_SUBJECT)
2426

0 commit comments

Comments
 (0)