Skip to content

Commit d41602b

Browse files
committed
Unit tests now pass.
1 parent 54ff715 commit d41602b

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ services:
2828
depends_on:
2929
- elasticsearch
3030
elasticsearch:
31-
image: docker.elastic.co/elasticsearch/elasticsearch-oss:7.9.2
31+
image: docker.elastic.co/elasticsearch/elasticsearch:7.16.2
3232
container_name: elasticsearch
3333
environment:
3434
- cluster.name=docker-cluster

pm2.test.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ module.exports = {
88
env: {
99
},
1010
node_args: [
11-
"--max-old-space-size=512"
11+
"--max-old-space-size=1024"
1212
]
1313
}
1414
]

src/main/server/adapter/asn/asn.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,5 @@ describe("ASN Adapter", function() {
3333

3434
it('conversion to ASN', async () => {
3535
await axios.get("http://localhost/api/asn/70d27b782c062d1280b240890141dcf6")
36-
}).timeout(10000);
36+
}).timeout(30000);
3737
});

src/main/server/adapter/ceasn/ceasn.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1223,7 +1223,7 @@ async function importCeFrameworkToCass(frameworkObj, competencyList) {
12231223
};
12241224
}
12251225
// call the default documentLoader
1226-
nodeDocumentLoader(url);
1226+
return await nodeDocumentLoader(url);
12271227
};
12281228

12291229
jsonld.documentLoader = customLoader;
@@ -1405,7 +1405,7 @@ async function importCeCollectionToCass(frameworkObj, competencyList) {
14051405
};
14061406
}
14071407
// call the default documentLoader
1408-
nodeDocumentLoader(url);
1408+
return await nodeDocumentLoader(url);
14091409
};
14101410

14111411
jsonld.documentLoader = customLoader;

0 commit comments

Comments
 (0)