mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-17 23:22:54 +00:00
test: fix plant uml connection test cases
This commit is contained in:
@@ -49,7 +49,10 @@ export class CreateDiagramSpec {
|
||||
try {
|
||||
await createDiagramFromString(testPlantUmlCode, "http://plantuml:8080");
|
||||
} 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