Merge pull request #989 from SkynetLabs/amend-extended-health-checks

assert correct expectations
This commit is contained in:
firyx 2021-07-21 11:45:12 +02:00 committed by GitHub
commit 0b4a1e523d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 17 deletions

View File

@ -550,7 +550,7 @@ function dappExampleCheck(done) {
}, },
headers: { headers: {
"skynet-skylink": "EADWpKD0myqH2tZa6xtKebg6kNnwYnI94fl4R8UKgNrmOA", "skynet-skylink": "EADWpKD0myqH2tZa6xtKebg6kNnwYnI94fl4R8UKgNrmOA",
"content-disposition": 'inline; filename="build"', "content-disposition": 'inline; filename="index.html"',
"content-type": "text/html", "content-type": "text/html",
}, },
}; };
@ -571,7 +571,7 @@ function developMomentumCheck(done) {
// metadata: developMomentumMetadata, // metadata: developMomentumMetadata,
headers: { headers: {
"skynet-skylink": "EAA1fG_ip4C1Vi1Ijvsr1oyr8jpH0Bo9HXya0T3kw-elGw", "skynet-skylink": "EAA1fG_ip4C1Vi1Ijvsr1oyr8jpH0Bo9HXya0T3kw-elGw",
"content-disposition": 'inline; filename="output"', "content-disposition": 'inline; filename="index.html"',
"content-type": "text/html", "content-type": "text/html",
}, },
}; };
@ -589,7 +589,7 @@ function developMomentumRedirectCheck(done) {
metadata: developMomentumMetadata, metadata: developMomentumMetadata,
headers: { headers: {
"skynet-skylink": "EAA1fG_ip4C1Vi1Ijvsr1oyr8jpH0Bo9HXya0T3kw-elGw", "skynet-skylink": "EAA1fG_ip4C1Vi1Ijvsr1oyr8jpH0Bo9HXya0T3kw-elGw",
"content-disposition": 'inline; filename="output"', "content-disposition": 'inline; filename="index.html"',
"content-type": "text/html", "content-type": "text/html",
}, },
}; };
@ -604,15 +604,10 @@ function developMomentumIndexFileCheck(done) {
name: "Develop Momentum Index File", name: "Develop Momentum Index File",
skylink: "EAA1fG_ip4C1Vi1Ijvsr1oyr8jpH0Bo9HXya0T3kw-elGw/index.html", skylink: "EAA1fG_ip4C1Vi1Ijvsr1oyr8jpH0Bo9HXya0T3kw-elGw/index.html",
bodyHash: developMomentumBodyHash, bodyHash: developMomentumBodyHash,
// metadata: {
// filename: "/index.html",
// length: 4981,
// subfiles: { "index.html": { filename: "index.html", contenttype: "text/html", len: 4981 } },
// },
headers: { headers: {
"skynet-skylink": "EAA1fG_ip4C1Vi1Ijvsr1oyr8jpH0Bo9HXya0T3kw-elGw", "skynet-skylink": "EAA1fG_ip4C1Vi1Ijvsr1oyr8jpH0Bo9HXya0T3kw-elGw",
"content-disposition": 'inline; filename="index.html"', "content-disposition": 'inline; filename="index.html"',
"content-type": "text/html; charset=utf-8", "content-type": "text/html",
}, },
}; };
@ -779,7 +774,7 @@ function skyGalleryCheck(done) {
metadata: skyGalleryMetadata, metadata: skyGalleryMetadata,
headers: { headers: {
"skynet-skylink": "AADW6GsQcetwDBaDYnGCSTbYjSKY743NtY1A5VRx5sj3Dg", "skynet-skylink": "AADW6GsQcetwDBaDYnGCSTbYjSKY743NtY1A5VRx5sj3Dg",
"content-disposition": 'inline; filename="skygallery-v0.1.1-76c4c115fcb526716b2564568850f433"', "content-disposition": 'inline; filename="index.html"',
"content-type": "text/html", "content-type": "text/html",
}, },
}; };
@ -794,15 +789,10 @@ function skyGalleryIndexFileCheck(done) {
name: "SkyGallery Index File", name: "SkyGallery Index File",
skylink: "AADW6GsQcetwDBaDYnGCSTbYjSKY743NtY1A5VRx5sj3Dg/index.html", skylink: "AADW6GsQcetwDBaDYnGCSTbYjSKY743NtY1A5VRx5sj3Dg/index.html",
bodyHash: skyGalleryBodyHash, bodyHash: skyGalleryBodyHash,
// metadata: {
// filename: "/index.html",
// length: 2534,
// subfiles: { "index.html": { filename: "index.html", contenttype: "text/html", len: 2534 } },
// },
headers: { headers: {
"skynet-skylink": "AADW6GsQcetwDBaDYnGCSTbYjSKY743NtY1A5VRx5sj3Dg", "skynet-skylink": "AADW6GsQcetwDBaDYnGCSTbYjSKY743NtY1A5VRx5sj3Dg",
"content-disposition": 'inline; filename="index.html"', "content-disposition": 'inline; filename="index.html"',
"content-type": "text/html; charset=utf-8", "content-type": "text/html",
}, },
}; };
@ -819,7 +809,7 @@ function skyGalleryRedirectCheck(done) {
metadata: skyGalleryMetadata, metadata: skyGalleryMetadata,
headers: { headers: {
"skynet-skylink": "AADW6GsQcetwDBaDYnGCSTbYjSKY743NtY1A5VRx5sj3Dg", "skynet-skylink": "AADW6GsQcetwDBaDYnGCSTbYjSKY743NtY1A5VRx5sj3Dg",
"content-disposition": 'inline; filename="skygallery-v0.1.1-76c4c115fcb526716b2564568850f433"', "content-disposition": 'inline; filename="index.html"',
"content-type": "text/html", "content-type": "text/html",
}, },
}; };