Skip to content

Commit 33a6174

Browse files
Fixed ci build
1 parent 5f7fcbe commit 33a6174

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

index.test.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ it("should open in-memory database", () => {
2323
results.map((r) => {
2424
return { ...r };
2525
}),
26-
[{ message: "Hello world" }]
26+
[{ message: "Hello world" }],
2727
);
2828

2929
//when & then
@@ -33,7 +33,7 @@ it("should open in-memory database", () => {
3333
it("should create file-based database", () => {
3434
//given
3535
const tmpDir = fs.mkdtempSync(
36-
path.join(os.tmpdir(), "better-sqlite3-wrapper-")
36+
path.join(os.tmpdir(), "better-sqlite3-wrapper-"),
3737
);
3838
const file = path.join(tmpDir, "test.db");
3939
let db = new Database(file);
@@ -48,7 +48,7 @@ it("should create file-based database", () => {
4848
id integer primary key,
4949
name text not null
5050
);
51-
`
51+
`,
5252
).run();
5353
const insert = db.prepare("insert into test (name) values (?);");
5454
insert.run("test1");
@@ -80,7 +80,7 @@ it("should create file-based database", () => {
8080
id: 2,
8181
name: "test2",
8282
},
83-
]
83+
],
8484
);
8585

8686
//cleanup
@@ -100,7 +100,7 @@ it("should rollback failed transaction", () => {
100100
id integer primary key,
101101
name text not null
102102
);
103-
`
103+
`,
104104
).run();
105105
assert.deepEqual(changesQuery.get().changes, 0);
106106
assert.deepEqual(lastInsertRowIdQuery.get().id, 0);
@@ -131,7 +131,7 @@ it("should rollback failed transaction", () => {
131131
query.all().map((r) => {
132132
return { ...r };
133133
}),
134-
[]
134+
[],
135135
);
136136

137137
//cleanup

0 commit comments

Comments
 (0)