🧪 Add checkly

This commit is contained in:
ajnart
2023-05-16 15:25:32 +09:00
parent 1c80e13cf8
commit 7b81a3bc43
5 changed files with 8999 additions and 10696 deletions

View File

@@ -1,6 +1,6 @@
import { ApiCheck, AssertionBuilder } from 'checkly/constructs';
import { ApiCheck, AssertionBuilder } from 'checkly/constructs'
const homepageApiCheck = new ApiCheck('homepage-api-check-1', {
new ApiCheck('homepage-api-check-1', {
name: 'Fetch Book List',
alertChannels: [],
degradedResponseTime: 10000,
@@ -14,7 +14,5 @@ const homepageApiCheck = new ApiCheck('homepage-api-check-1', {
AssertionBuilder.statusCode().equals(200),
AssertionBuilder.jsonBody('$[0].id').isNotNull(),
],
},
});
export default homepageApiCheck;
}
})