Skip to content

Commit 1c4ccaa

Browse files
committed
replaced the stale TabulatorOutline marker with runDataBrowser
1 parent af81129 commit 1c4ccaa

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

test/integration/http-test.mjs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -285,8 +285,8 @@ describe('HTTP APIs', function () {
285285
.set('Accept', 'text/html')
286286
.expect('content-type', /text\/html/)
287287
.expect(function (res) {
288-
if (res.text.indexOf('TabulatorOutline') < 0) {
289-
throw new Error('did not load the Tabulator skin by default')
288+
if (res.text.indexOf('runDataBrowser') < 0) {
289+
throw new Error('did not load the data browser (mashlib) skin by default')
290290
}
291291
})
292292
.expect(200, done) // Can't check for 303 because of internal redirects
@@ -304,7 +304,7 @@ describe('HTTP APIs', function () {
304304
.expect('content-type', /text\/html/)
305305
.expect(200)
306306
.expect((res) => {
307-
if (res.text.includes('TabulatorOutline')) {
307+
if (res.text.includes('runDataBrowser')) {
308308
throw new Error('Loaded data browser though resource has an .html extension')
309309
}
310310
})
@@ -317,8 +317,8 @@ describe('HTTP APIs', function () {
317317
.expect('content-type', /text\/html/)
318318
.expect(200)
319319
.expect((res) => {
320-
if (res.text.includes('TabulatorOutline')) {
321-
throw new Error('Loaded data browser though resource has an .html extension')
320+
if (res.text.includes('runDataBrowser')) {
321+
throw new Error('Loaded data browser though directory has an index file')
322322
}
323323
})
324324
.end(done)

0 commit comments

Comments
 (0)