ghost-portal/packages/apps-config/src/ci/chainEndpoints.spec.ts
2022-07-09 19:59:17 +03:00

17 lines
431 B
TypeScript

// Copyright 2017-2022 @polkadot/apps-config authors & contributors
// SPDX-License-Identifier: Apache-2.0
import { checkEndpoints } from './runner';
describe('--SLOW--: check configured chain endpoints', (): void => {
beforeAll((): void => {
jest.setTimeout(2 * 60 * 1000);
});
checkEndpoints('./.github/chain-endpoints.md', [
'No DNS entry for',
'Timeout connecting to',
'Unable to initialize'
]);
});