1
0
Fork 0
mirror of https://github.com/MillironX/docker-names.git synced 2024-11-15 05:53:10 +00:00

Test intentional failure

This commit is contained in:
Declan Shanaghy 2021-05-11 09:39:50 -07:00
parent 9b7a5c5e96
commit b6cc4a67cd

View file

@ -15,7 +15,7 @@ describe('Docker names', () => {
const parts = nameWithNumber.split('-'); const parts = nameWithNumber.split('-');
expect(parts).toHaveLength(3); expect(parts).toHaveLength(3);
expect(left).toContain(parts[0]); expect(left).toContain(parts[0]);
expect(right).toContain(parts[1]); expect(right).toContain('s' + parts[1]);
expect(parseInt(parts[2])).toBeGreaterThan(0); expect(parseInt(parts[2])).toBeGreaterThan(0);
}) })
}) })