()
| 50 | const metadata = (key: string): string | null => (cg as any).queries.getMetadata(key); |
| 51 | const indexedPaths = (): string[] => (cg as any).queries.getAllFilePaths().sort(); |
| 52 | const changes = () => { |
| 53 | const found = cg!.getChangedFiles(); |
| 54 | return { added: [...found.added].sort(), modified: [...found.modified].sort(), removed: [...found.removed].sort() }; |
| 55 | }; |
| 56 | /** The premise of every case here: as far as git can tell, nothing happened. */ |
| 57 | const gitSeesNothing = () => expect(git('status', '--porcelain')).toBe(''); |
| 58 | /** The git commands run since the last clear, each as one string. */ |
no test coverage detected