Skip to content

Commit

Permalink
Rename fakeJsdoc test fixture to jsdocStub
Browse files Browse the repository at this point in the history
This doesn't change any functionality, but better reflects the nature of
the jsdoc test double scripts.

"Fake" would imply that the doubles are fully functional, but merely
scaled down implementations. These are really more "stubs," incomplete
implementations to simulate specific operations and responses.
  • Loading branch information
mbland committed Dec 28, 2023
1 parent 8697dab commit 407c5ae
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion test/main.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import path from 'node:path'
import { fileURLToPath } from 'node:url'

describe('jsdoc-cli-wrapper', () => {
const root = fixturePath('fakeJsdoc')
const root = fixturePath('jsdocStub')
const destDirHelper = new DestDirHelper()
const mainPath = fileURLToPath(new URL('../index.js', import.meta.url))

Expand Down
2 changes: 1 addition & 1 deletion test/runJsdoc.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { afterEach, beforeEach, describe, expect, test } from 'vitest'
import path from 'node:path'

describe('runJsdoc', () => {
const root = fixturePath('fakeJsdoc')
const root = fixturePath('jsdocStub')
const env = { [PATH_KEY]: root }
const platform = process.platform
const destDirHelper = new DestDirHelper()
Expand Down

0 comments on commit 407c5ae

Please sign in to comment.