unity-builder/src/model/input-readers/git-repo.test.ts

9 lines
307 B
TypeScript

import { GitRepoReader } from './git-repo.ts';
describe(`git repo tests`, () => {
it(`Branch value parsed from CLI to not contain illegal characters`, async () => {
expect(await GitRepoReader.GetBranch()).not.toContain(`\n`);
expect(await GitRepoReader.GetBranch()).not.toContain(` `);
});
});