From 844e39beee82edf394e9b65f5751098d598fff66 Mon Sep 17 00:00:00 2001 From: Lloyd Brookes Date: Fri, 1 Nov 2024 21:44:59 +0000 Subject: [PATCH] CI --- test/caching.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/test/caching.js b/test/caching.js index c1265be..a2750f5 100644 --- a/test/caching.js +++ b/test/caching.js @@ -7,16 +7,12 @@ import path from 'path' /* tests need to run with a maxConcurrency of 1 as `jsdoc.cache` is shared between tests */ const [test, only, skip] = [new Map(), new Map(), new Map()] -only.set('.explain({ files, cache: true })', async function () { +test.set('.explain({ files, cache: true })', async function () { const f = new Fixture('class-all') jsdoc.cache.dir = 'tmp/test/cache1' await jsdoc.cache.clear() let output = await jsdoc.explain({ files: f.sourcePath, cache: true }) - // console.log('======BEFORE') - // console.log(output) output = Fixture.normaliseNewLines(output) - // console.log('======AFTER') - // console.log(output) const cachedFiles = readdirSync(jsdoc.cache.dir).map(file => path.resolve(jsdoc.cache.dir, file)) a.equal(cachedFiles.length, 1) a.deepEqual(output, f.getExpectedOutput(output))