Skip to content

Commit ff95ee2

Browse files
committed
Use localLoader for remote tests.
1 parent 2613c4a commit ff95ee2

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
@@ -1091,9 +1085,10 @@ function createDocumentLoader(test) {
10911085
];
10921086
const localLoader = function(url) {
10931087
// always load remote-doc tests remotely in node
1094-
if(options.nodejs && test.manifest.name === 'Remote document') {
1095-
return jsonld.documentLoader(url);
1096-
}
1088+
// NOTE: disabled due to github pages issues.
1089+
//if(options.nodejs && test.manifest.name === 'Remote document') {
1090+
// return jsonld.documentLoader(url);
1091+
//}
10971092

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

0 commit comments

Comments
 (0)