From 48af6c265d343aa6c6e03d1805329b2d5d6f7452 Mon Sep 17 00:00:00 2001 From: koyopro Date: Tue, 10 Dec 2024 05:12:27 +0900 Subject: [PATCH] test --- src/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 73cd4a1a..29f7fb04 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,4 +1,4 @@ -import { initAccelRecord } from "accel-record"; +import { initAccelRecord, stopWorker } from "accel-record"; import "accel-record/errors"; import "accel-record/search"; import { getDatabaseConfig, User } from "../tests/models/index.js"; @@ -6,4 +6,5 @@ import { getDatabaseConfig, User } from "../tests/models/index.js"; initAccelRecord(getDatabaseConfig()).then(() => { // User.create({ email: `${Date.now()}@example.com` }); console.log(User.count()); + stopWorker(); });