Skip to content

Commit

Permalink
feat: create checkly config with a random working test
Browse files Browse the repository at this point in the history
  • Loading branch information
ixartz committed Nov 10, 2023
1 parent 8488d82 commit 32255b0
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 36,997 deletions.
24 changes: 24 additions & 0 deletions checkly.config.ts
@@ -0,0 +1,24 @@
/* eslint-disable import/no-extraneous-dependencies */
import { defineConfig } from 'checkly';
import { Frequency } from 'checkly/constructs';

const config = defineConfig({
projectName: 'Next.js Boilerplate',
logicalId: 'nextjs-boilerplate',
repoUrl: 'https://github.com/ixartz/Next-js-Boilerplate',
checks: {
locations: ['us-east-1', 'eu-west-1'],
tags: ['website'],
runtimeId: '2023.09',
browserChecks: {
frequency: Frequency.EVERY_24H,
testMatch: '**/__checks__/**/*.spec.ts',
},
},
cli: {
runLocation: 'eu-west-1',
reporters: ['list'],
},
});

export default config;
6 changes: 5 additions & 1 deletion jest.config.js
Expand Up @@ -33,7 +33,11 @@ const customJestConfig = {
},
},
testEnvironment: 'jest-environment-jsdom',
testPathIgnorePatterns: ['<rootDir>/node_modules/', '<rootDir>/tests/'],
testPathIgnorePatterns: [
'<rootDir>/node_modules/',
'<rootDir>/tests/',
'<rootDir>/__checks__/',
],
};

module.exports = createJestConfig(customJestConfig);

0 comments on commit 32255b0

Please sign in to comment.