Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 789b9a0

Browse filesBrowse files
committed
fix(index.json): rename dump.json to index.json
1 parent 82db7bc commit 789b9a0
Copy full SHA for 789b9a0

File tree

Expand file treeCollapse file tree

7 files changed

+10
-10
lines changed
Filter options
Expand file treeCollapse file tree

7 files changed

+10
-10
lines changed

‎src/ESDoc.js

Copy file name to clipboardExpand all lines: src/ESDoc.js
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,9 @@ export default class ESDoc {
106106
// cleanup
107107
fs.removeSync(config.destination);
108108

109-
// dump.json
109+
// index.json
110110
{
111-
const dumpPath = path.resolve(config.destination, 'dump.json');
111+
const dumpPath = path.resolve(config.destination, 'index.json');
112112
fs.outputFileSync(dumpPath, JSON.stringify(results, null, 2));
113113
}
114114

‎test/src/ConfigTest/ExcludesTest.js

Copy file name to clipboardExpand all lines: test/src/ConfigTest/ExcludesTest.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {cli, readTags} from '../util.js';
44
/** @test {ESDoc.generate} */
55
describe('test config.excludes: ["Class\\.js"]', ()=>{
66
cli('./test/fixture/config/esdoc-excludes.json');
7-
const tags = readTags('./test/fixture/dest/esdoc-excludes/dump.json');
7+
const tags = readTags('./test/fixture/dest/esdoc-excludes/index.json');
88

99
it('does not have excluded identifier', ()=>{
1010
const tag = tags.find(tag => tag.name === 'TestDescClass');

‎test/src/ConfigTest/FindConfigPathTest.js

Copy file name to clipboardExpand all lines: test/src/ConfigTest/FindConfigPathTest.js
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,19 @@ describe('test finding config path:', ()=>{
1818
process.chdir(cwd);
1919

2020
it('can find .esdoc.json', ()=>{
21-
const tags = readTags('./test/fixture/dest/find-.esdoc.json/dump.json');
21+
const tags = readTags('./test/fixture/dest/find-.esdoc.json/index.json');
2222
const tag = tags.find(tag => tag.name === 'TestAccessClassPublic');
2323
assert(tag);
2424
});
2525

2626
it('can find .esdoc.js', ()=>{
27-
const tags = readTags('./test/fixture/dest/find-.esdoc.js/dump.json');
27+
const tags = readTags('./test/fixture/dest/find-.esdoc.js/index.json');
2828
const tag = tags.find(tag => tag.name === 'TestAccessClassPublic');
2929
assert(tag);
3030
});
3131

3232
it('can find package.js', ()=>{
33-
const tags = readTags('./test/fixture/dest/find-package.json/dump.json');
33+
const tags = readTags('./test/fixture/dest/find-package.json/index.json');
3434
const tag = tags.find(tag => tag.name === 'TestAccessClassPublic');
3535
assert(tag);
3636
});

‎test/src/ConfigTest/ManualTest.js

Copy file name to clipboardExpand all lines: test/src/ConfigTest/ManualTest.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {readTags, cli} from '../util.js';
44
/** @test {ManualDocBuilder} */
55
describe('test config.manual: null', ()=>{
66
cli('./test/fixture/config/esdoc-manual.json');
7-
const tags = readTags('./test/fixture/dest/esdoc-manual/dump.json');
7+
const tags = readTags('./test/fixture/dest/esdoc-manual/index.json');
88

99
it('does not have manual.', ()=>{
1010
const tag = tags.find(tag => tag.kind === 'manualOverview');

‎test/src/ConfigTest/PluginsTest.js

Copy file name to clipboardExpand all lines: test/src/ConfigTest/PluginsTest.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {cli, readTags} from '../util.js';
66
/** @test {Plugin} */
77
describe('test config.plugins: [...]', ()=>{
88
cli('./test/fixture/config/esdoc-plugins.json');
9-
const tags = readTags('./test/fixture/dest/esdoc-plugins/dump.json');
9+
const tags = readTags('./test/fixture/dest/esdoc-plugins/index.json');
1010

1111
/* eslint-disable global-require */
1212
it('call each handlers', ()=>{

‎test/src/ConfigTest/TestTest.js

Copy file name to clipboardExpand all lines: test/src/ConfigTest/TestTest.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ describe('test config.test: null', ()=>{
66
cli('./test/fixture/config/esdoc-test.json');
77

88
it('does not have test integration', ()=>{
9-
const tags = readTags('./test/fixture/dest/esdoc-test/dump.json');
9+
const tags = readTags('./test/fixture/dest/esdoc-test/index.json');
1010
const tag = tags.find(tag => tag.name === 'testDescribe');
1111
assert.equal(tag, null);
1212
});

‎test/src/init.js

Copy file name to clipboard
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
import {cli, readTags} from './util.js';
22

33
cli('./test/fixture/package/esdoc.json');
4-
global.tags = readTags('./test/fixture/dest/esdoc/dump.json');
4+
global.tags = readTags('./test/fixture/dest/esdoc/index.json');

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.