testing with jest
This commit is contained in:
@ -1,12 +1,12 @@
|
||||
import { describe, it } from "node:test"
|
||||
import { describe, expect, it } from "@jest/globals"
|
||||
|
||||
import { daily } from "@/main.ts"
|
||||
import { ActualImpl } from "@/actual.ts"
|
||||
import { BankStub } from "./stubs/bankStub.ts"
|
||||
import assert from "node:assert"
|
||||
|
||||
describe("Main logic of the application", () => {
|
||||
it("should import the transactions to Actual Budget", async () => {
|
||||
await daily(await ActualImpl.init(), new BankStub())
|
||||
assert.ok(true)
|
||||
expect(true)
|
||||
})
|
||||
})
|
||||
|
Reference in New Issue
Block a user