@bifravst/ci
Version:
Sets up the permissions in our CI account for all repositories in this account to be able to use it for CI runs.
19 lines (18 loc) • 588 B
JavaScript
import assert from 'node:assert/strict';
import path from 'node:path';
import { describe, it } from 'node:test';
import { loadRepoList } from './loadRepoList.js';
void describe('loadRepoList()', () => {
void it('should load the list of repos', async () => {
assert.deepEqual(await loadRepoList(path.join(process.cwd(), 'cdk', 'test', 'repos.txt')), [
{
name: 'ci',
owner: 'bifravst',
},
{
name: 'aws-cdk-ecr-helpers',
owner: 'bifravst',
},
]);
});
});