Testing performance improvements? I think so!
This commit is contained in:
parent
a2900c2c43
commit
a97c2b31ea
2
.gitignore
vendored
2
.gitignore
vendored
@ -11,8 +11,8 @@ project/Aki_Data/
|
||||
project/tmp/
|
||||
project/docs/
|
||||
project/types/
|
||||
project/tests/__cache__/
|
||||
project/tests/__coverage__/
|
||||
project/__coverage__/
|
||||
project/src/__coverage__/
|
||||
|
||||
## visual studio
|
||||
|
@ -1,17 +0,0 @@
|
||||
//Controllers
|
||||
import "@tests/controllers/InsuranceController.test";
|
||||
|
||||
//Generators
|
||||
import "@tests/generators/BotLevelGenerator.test";
|
||||
import "@tests/generators/BotGenerator.test";
|
||||
|
||||
//Helpers
|
||||
import "@tests/helpers/BotHelper.test";
|
||||
import "@tests/helpers/HandbookHelper.test";
|
||||
import "@tests/helpers/InRaidHelper.test";
|
||||
import "@tests/helpers/ItemHelper.test";
|
||||
|
||||
//Services
|
||||
import "@tests/services/ItemBaseClassService.test";
|
||||
import "@tests/services/PaymentService.test";
|
||||
import "@tests/services/PlayerService.test";
|
@ -8,8 +8,10 @@ export default defineConfig({
|
||||
api: 51204,
|
||||
reporters: ["default"],
|
||||
root: "./",
|
||||
include: ["tests/Setup.test.ts"],
|
||||
cache: false,
|
||||
include: ["**/*.{test,spec}.?(c|m)[jt]s?(x)"],
|
||||
cache: {
|
||||
dir: "./tests/__cache__"
|
||||
},
|
||||
environment: "./tests/CustomEnvironment.ts",
|
||||
globals: true,
|
||||
coverage: {
|
||||
@ -21,6 +23,13 @@ export default defineConfig({
|
||||
include: ["src"],
|
||||
exclude: ["src/models/**", "tests/**"]
|
||||
},
|
||||
pool: "threads",
|
||||
poolOptions: {
|
||||
threads: {
|
||||
singleThread: true,
|
||||
isolate: false
|
||||
}
|
||||
},
|
||||
alias: {
|
||||
"@spt-aki": path.resolve(__dirname, "src"),
|
||||
"@tests": path.resolve(__dirname, "tests")
|
||||
|
Loading…
Reference in New Issue
Block a user