Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
adrienZ committed Sep 14, 2024
1 parent 7bb89ad commit e3e59f5
Show file tree
Hide file tree
Showing 3 changed files with 105 additions and 108 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
".": {
"require": "./dist/index.js",
"import": "./dist/index.mjs",
"types": "./dist/index.d.ts"
"types": "./dist/index.d.ts"
}
},
"scripts": {
"build": "tsup src/index.ts --format cjs,esm --dts --clean",
"watch": "npm run build -- --watch src",
"prepublishOnly": "npm run build",
"test": "pnpm vitest run",
"dev": "vitest",
"prepublishOnly": "pnpm run build",
"test": "vitest run",
"test:types": "tsc --noEmit",
"test:bun": "bun test ./tests/bun-sqlite.test.bun",
"test:ci": "pnpm test -- --coverage --reporter=default --reporter=junit --outputFile=./junit.xml && pnpm test:bun",
Expand Down
5 changes: 1 addition & 4 deletions tests/database.test.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
import { describe, it, expect } from "vitest";
import sqlite from "db0/connectors/better-sqlite3";
import { createDatabase } from "db0";
import {
checkDatabaseValidity,
checkDbAndTables,
} from "../src/index";
import { checkDatabaseValidity, checkDbAndTables } from "../src/index";

describe("checkDatabaseValidity", () => {
it("should throw an error when no arguments are provided", () => {
Expand Down
Loading

0 comments on commit e3e59f5

Please sign in to comment.