Skip to content

Commit f1e794c

Browse files
committed
Fix caching test
1 parent 1e470ce commit f1e794c

File tree

5 files changed

+7
-4
lines changed

5 files changed

+7
-4
lines changed

index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ const cache = new Cache({ dir: path.join(os.tmpdir(), 'jsdoc-api') })
2424
* @alias module:jsdoc-api
2525
*/
2626
const jsdoc = {
27+
cache,
28+
2729
/**
2830
* Returns a promise for the jsdoc explain output.
2931
*

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
},
5555
"files": [
5656
"index.js",
57-
"lib"
57+
"lib",
58+
"dist"
5859
]
5960
}

test/caching.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as jsdoc from 'jsdoc-api'
1+
import jsdoc from 'jsdoc-api'
22
import Fixture from './lib/fixture.js'
33
import { statSync } from 'fs'
44
import { strict as a } from 'assert'

test/explain.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as jsdoc from 'jsdoc-api'
1+
import jsdoc from 'jsdoc-api'
22
import Fixture from './lib/fixture.js'
33
import { statSync } from 'fs'
44
import { strict as a } from 'assert'

test/render.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as jsdoc from 'jsdoc-api'
1+
import jsdoc from 'jsdoc-api'
22
import Fixture from './lib/fixture.js'
33
import { statSync } from 'fs'
44
import { strict as a } from 'assert'

0 commit comments

Comments
 (0)