Skip to content

Commit d250558

Browse files
gkelloggdavidlehn
authored andcommitted
Use localLoader for remote tests.
1 parent f9b58f9 commit d250558

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

tests/test-common.js

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -101,13 +101,7 @@ const TEST_TYPES = {
101101
/expand-manifest.jsonld#thc04$/,
102102
/expand-manifest.jsonld#thc05$/,
103103
// remote
104-
/remote-doc-manifest.jsonld#t0005$/,
105-
/remote-doc-manifest.jsonld#t0006$/,
106-
/remote-doc-manifest.jsonld#t0007$/,
107-
/remote-doc-manifest.jsonld#t0010$/,
108-
/remote-doc-manifest.jsonld#t0011$/,
109-
/remote-doc-manifest.jsonld#t0012$/,
110-
/remote-doc-manifest.jsonld#t0013$/,
104+
/remote-doc-manifest.jsonld#t0013$/, // HTML
111105
/remote-doc-manifest.jsonld#tla01$/,
112106
/remote-doc-manifest.jsonld#tla05$/,
113107
// @import
@@ -1097,9 +1091,10 @@ function createDocumentLoader(test) {
10971091
];
10981092
const localLoader = function(url) {
10991093
// always load remote-doc tests remotely in node
1100-
if(options.nodejs && test.manifest.name === 'Remote document') {
1101-
return jsonld.documentLoader(url);
1102-
}
1094+
// NOTE: disabled due to github pages issues.
1095+
//if(options.nodejs && test.manifest.name === 'Remote document') {
1096+
// return jsonld.documentLoader(url);
1097+
//}
11031098

11041099
// FIXME: this check only works for main test suite and will not work if:
11051100
// - running other tests and main test suite not installed

0 commit comments

Comments
 (0)