Skip to content

Commit

Permalink
small adjustments to fix tests and such
Browse files Browse the repository at this point in the history
  • Loading branch information
bkendall committed Feb 5, 2025
1 parent 7c3e9bf commit 5421404
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 14 deletions.
2 changes: 1 addition & 1 deletion eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ module.exports = [
parserOptions: {
ecmaVersion: "es2020",
projectService: {
project: "./tsconfig.dev.json",
project: "./tsconfig.json",
allowDefaultProject: ["eslint.config.js"],
},
tsconfigRootDir: __dirname,
Expand Down
2 changes: 1 addition & 1 deletion test/integration/clean-urls.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import * as fs from "node:fs/promises";
import * as connect from "connect";
import * as request from "supertest";

import superstatic from "../../";
import superstatic from "../../src/";
import { MiddlewareOptions } from "../../src/options";
import { Configuration } from "../../src/config";

Expand Down
2 changes: 1 addition & 1 deletion test/integration/error-pages.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import * as fs from "node:fs/promises";
import * as connect from "connect";
import * as request from "supertest";

import superstatic from "../../";
import superstatic from "../../src/";
import { MiddlewareOptions } from "../../src/options";
import { Configuration } from "../../src/config";

Expand Down
2 changes: 1 addition & 1 deletion test/integration/i18n.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import * as fs from "node:fs/promises";
import * as connect from "connect";
import * as request from "supertest";

import superstatic from "../../";
import superstatic from "../../src/";
import { MiddlewareOptions } from "../../src/options";
import { Configuration } from "../../src/config";

Expand Down
2 changes: 1 addition & 1 deletion test/integration/serving-files.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import { join } from "path";
import * as connect from "connect";
import * as request from "supertest";

import superstatic from "../../";
import superstatic from "../../src/";
import { MiddlewareOptions } from "../../src/options";
import { Configuration } from "../../src/config";

Expand Down
8 changes: 0 additions & 8 deletions tsconfig.dev.json

This file was deleted.

4 changes: 3 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
"target": "ES2020"
},
"include": [
"src/**/*"
"examples/**/*",
"src/**/*",
"test/**/*"
]
}

0 comments on commit 5421404

Please sign in to comment.