mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-20 08:33:11 +00:00
test: fix plant uml connection test cases
This commit is contained in:
@@ -49,7 +49,10 @@ export class CreateDiagramSpec {
|
|||||||
try {
|
try {
|
||||||
await createDiagramFromString(testPlantUmlCode, "http://plantuml:8080");
|
await createDiagramFromString(testPlantUmlCode, "http://plantuml:8080");
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
expect(e.message).to.equal(new Error('getaddrinfo ENOTFOUND plantuml plantuml:8080').message);
|
expect([
|
||||||
|
new Error('getaddrinfo ENOTFOUND plantuml plantuml:8080').message,
|
||||||
|
new Error('getaddrinfo EAI_AGAIN plantuml plantuml:8080').message,
|
||||||
|
]).to.include(e.message);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user