Skip to content

Commit

Permalink
chore: Disable sources in test
Browse files Browse the repository at this point in the history
Partially resolves #1183
  • Loading branch information
Gerrit0 committed Mar 15, 2020
1 parent 295ccdd commit 0e6ff69
Show file tree
Hide file tree
Showing 59 changed files with 24 additions and 5,630 deletions.
3 changes: 2 additions & 1 deletion scripts/rebuild_specs.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ app.bootstrap({
"lib.es2015.collection.d.ts"
],
name: 'typedoc',
excludeExternals: true
excludeExternals: true,
disableSources: true
});

// Note that this uses the test files in dist, not in src, this is important since
Expand Down
3 changes: 2 additions & 1 deletion src/test/converter.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ describe('Converter', function() {
jsx: JsxEmit.React,
name: 'typedoc',
ignoreCompilerErrors: true,
excludeExternals: true
excludeExternals: true,
disableSources: true
});

const checks: [string, () => void, () => void][] = [
Expand Down
100 changes: 1 addition & 99 deletions src/test/converter/alias/specs.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,6 @@
}
}
],
"sources": [
{
"fileName": "alias.ts",
"line": 30,
"character": 60
}
],
"type": {
"type": "indexedAccess",
"indexType": {
Expand Down Expand Up @@ -113,13 +106,6 @@
"flags": {
"isExported": true
},
"sources": [
{
"fileName": "alias.ts",
"line": 31,
"character": 5
}
],
"type": {
"type": "typeParameter",
"name": "R"
Expand All @@ -133,13 +119,6 @@
"flags": {
"isExported": true
},
"sources": [
{
"fileName": "alias.ts",
"line": 32,
"character": 5
}
],
"type": {
"type": "reference",
"id": 22,
Expand Down Expand Up @@ -171,14 +150,7 @@
"kindString": "Type literal",
"flags": {
"isExported": true
},
"sources": [
{
"fileName": "alias.ts",
"line": 32,
"character": 68
}
]
}
}
}
],
Expand All @@ -195,13 +167,6 @@
27
]
}
],
"sources": [
{
"fileName": "alias.ts",
"line": 30,
"character": 87
}
]
}
}
Expand Down Expand Up @@ -229,13 +194,6 @@
}
}
],
"sources": [
{
"fileName": "alias.ts",
"line": 14,
"character": 20
}
],
"type": {
"type": "conditional",
"checkType": {
Expand Down Expand Up @@ -285,13 +243,6 @@
}
}
],
"sources": [
{
"fileName": "alias.ts",
"line": 24,
"character": 20
}
],
"type": {
"type": "conditional",
"checkType": {
Expand Down Expand Up @@ -341,13 +292,6 @@
"name": "any"
}
}
],
"sources": [
{
"fileName": "alias.ts",
"line": 24,
"character": 39
}
]
}
},
Expand Down Expand Up @@ -404,13 +348,6 @@
"name": "any"
}
}
],
"sources": [
{
"fileName": "alias.ts",
"line": 24,
"character": 69
}
]
}
},
Expand Down Expand Up @@ -446,13 +383,6 @@
}
}
],
"sources": [
{
"fileName": "alias.ts",
"line": 19,
"character": 23
}
],
"type": {
"type": "conditional",
"checkType": {
Expand Down Expand Up @@ -501,13 +431,6 @@
}
}
],
"sources": [
{
"fileName": "alias.ts",
"line": 4,
"character": 28
}
],
"type": {
"type": "reflection",
"declaration": {
Expand Down Expand Up @@ -560,13 +483,6 @@
"name": "number"
}
}
],
"sources": [
{
"fileName": "alias.ts",
"line": 4,
"character": 33
}
]
}
}
Expand All @@ -582,13 +498,6 @@
"comment": {
"shortText": "A type for IDs."
},
"sources": [
{
"fileName": "alias.ts",
"line": 9,
"character": 15
}
],
"type": {
"type": "union",
"types": [
Expand Down Expand Up @@ -617,13 +526,6 @@
8
]
}
],
"sources": [
{
"fileName": "alias.ts",
"line": 1,
"character": 0
}
]
}
],
Expand Down
Loading

0 comments on commit 0e6ff69

Please sign in to comment.