Skip to content

Commit 6bd9d7f

Browse files
committed
Fix slow tests on Linux
1 parent ab7eab6 commit 6bd9d7f

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.config/mocha.test-explorer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://json.schemastore.org/mocharc.json",
33
"extension": ["ts"],
4-
"ignore": ["src/test/slow/**", "src/test/packages/**"],
4+
"ignore": [],
55
"package": "./package.json",
66
"node-option": ["import=tsx", "conditions=typedoc-ts"],
77
"slow": 500,

src/test/slow/entry-point.test.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,14 @@ describe("Entry Points", () => {
4343
it("Supports expanding globs in paths", async () => {
4444
const app = await Application.bootstrap({
4545
entryPointStrategy: EntryPointStrategy.Expand,
46+
tsconfig,
4647
});
47-
app.options.setValue("tsconfig", tsconfig);
4848
app.options.setValue("entryPoints", ["*.ts"], fixture.cwd);
4949

50+
equal(app.options.getValue("entryPoints"), [
51+
`${normalizePath(fixture.cwd)}/*.ts`,
52+
]);
53+
5054
const entryPoints = app.getDefinedEntryPoints();
5155
ok(entryPoints);
5256
equal(

0 commit comments

Comments
 (0)