Bacpop-209 Beebop:AMR info to Microreact #727
jestCI.yml
on: pull_request
Matrix: unit_and_integration_backend
Matrix: unit_frontend
Annotations
4 errors and 2 warnings
src/__tests__/stores/projectStore.spec.ts > projectStore > actions > should correctly create post body when buildRunAnalysisPostBody is called:
app/client-v2/src/__tests__/stores/projectStore.spec.ts#L689
AssertionError: expected { …(6) } to deeply equal { …(4) }
- Expected
+ Received
Object {
+ "amrForMetadataCsv": Array [
+ Object {
+ "Chloramphenicol Resistance": "Probably",
+ "Cotrim Resistance": "Probably not",
+ "Erythromycin Resistance": "Probably not",
+ "ID": "sample1-test-hash",
+ "Penicillin Resistance": "Unlikely",
+ "Tetracycline Resistance": "Highly unlikely",
+ },
+ Object {
+ "Chloramphenicol Resistance": "Probably",
+ "Cotrim Resistance": "Almost certainly",
+ "Erythromycin Resistance": "Almost certainly",
+ "ID": "sample2-test-hash",
+ "Penicillin Resistance": "Highly unlikely",
+ "Tetracycline Resistance": "Highly unlikely",
+ },
+ Object {
+ "Chloramphenicol Resistance": "Probably",
+ "Cotrim Resistance": "Unlikely",
+ "Erythromycin Resistance": "Probably not",
+ "ID": "sample3-test-hash",
+ "Penicillin Resistance": "Probably",
+ "Tetracycline Resistance": "Highly unlikely",
+ },
+ ],
"names": Object {
"sample1-test-hash": "sample1.fasta",
"sample2-test-hash": "sample2.fasta",
"sample3-test-hash": "sample3.fasta",
},
"projectHash": "2b4829de7ce1dc69265f3468bd247005",
"projectId": "1",
"sketches": Object {
"sample1-test-hash": Object {
"filename": "sample1.fasta",
"md5": "sample1-md5",
},
"sample2-test-hash": Object {
"filename": "sample2.fasta",
"md5": "sample2-md5",
},
"sample3-test-hash": Object {
"filename": "sample3.fasta",
"md5": "sample3-md5",
},
},
+ "species": undefined,
}
❯ src/__tests__/stores/projectStore.spec.ts:689:24
|
src/__tests__/utils/projectCsvUtils.spec.ts > projectCsvUtils > convertAmrForCsv > should convert AMR object to CSV format:
app/client-v2/src/__tests__/utils/projectCsvUtils.spec.ts#L55
AssertionError: expected { …(5) } to deeply equal { Penicillin: 'word', …(4) }
- Expected
+ Received
Object {
- "Chloramphenicol": "word",
- "Cotrim": "word",
- "Erythromycin": "word",
- "Penicillin": "word",
- "Tetracycline": "word",
+ "Chloramphenicol Resistance": "word",
+ "Cotrim Resistance": "word",
+ "Erythromycin Resistance": "word",
+ "Penicillin Resistance": "word",
+ "Tetracycline Resistance": "word",
}
❯ src/__tests__/utils/projectCsvUtils.spec.ts:55:22
|
unit_frontend (20.x)
Process completed with exit code 1.
|
unit_and_integration_backend (20.x)
Process completed with exit code 1.
|
unit_frontend (20.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
unit_and_integration_backend (20.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|