Skip to content
This repository was archived by the owner on Feb 25, 2022. It is now read-only.

Commit 52a3fd0

Browse files
authored
Merge pull request #5 from adobe/post-deploy-tests
Post deploy tests
2 parents 41d7824 + f067928 commit 52a3fd0

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"deploy-ci": "wsk-builder -v --deploy --test=/_status_check/healthcheck.json --pkgVersion=ci$CIRCLE_BUILD_NUM -l ci"
1919
},
2020
"wsk": {
21-
"name": "helix-services-private/helix-data-embed@${version}",
21+
"name": "helix-services-private/data-embed@${version}",
2222
"linksPackage": "helix-services"
2323
},
2424
"repository": {

test/post-deploy.test.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,9 @@ describe('Post-Deploy Tests', () => {
3737
.request('https://adobeioruntime.net/')
3838
.get(`${getbaseurl()}/https://blogs.adobe.com/psirt/?feed=atom`)
3939
.then((response) => {
40-
console.log(response);
41-
expect(response).to.have.status(200);
4240
expect(response).to.be.json;
43-
console.log(response.json);
41+
expect(response.body).to.be.an('array').that.has.length(10);
42+
expect(response).to.have.status(200);
4443
}).catch((e) => {
4544
throw e;
4645
});

0 commit comments

Comments
 (0)