chore: move to swc/jest (#7739)

* chore: move to swc

* chore: fix tax rate tests

* chore: undo failed test

* chore: fix unit tests script

* chore: use node 20

* Update scripts/run-workspace-unit-tests-in-chunks.sh
This commit is contained in:
Riqwan Thamir
2024-06-20 12:59:33 +02:00
committed by GitHub
parent f61557712c
commit 03924a4ff6
137 changed files with 386 additions and 419 deletions
@@ -13,6 +13,7 @@ import {
OptionalProps,
PrimaryKey,
Property,
Rel,
} from "@mikro-orm/core"
import Claim from "./claim"
import Exchange from "./exchange"
@@ -90,7 +91,7 @@ export default class Transaction {
@ManyToOne(() => Order, {
persist: false,
})
order: Order
order: Rel<Order>
@ManyToOne({
entity: () => Return,
@@ -105,7 +106,7 @@ export default class Transaction {
@ManyToOne(() => Return, {
persist: false,
})
return: Return
return: Rel<Return>
@ManyToOne({
entity: () => Exchange,
@@ -120,7 +121,7 @@ export default class Transaction {
@ManyToOne(() => Exchange, {
persist: false,
})
exchange: Exchange
exchange: Rel<Exchange>
@ManyToOne({
entity: () => Claim,
@@ -135,7 +136,7 @@ export default class Transaction {
@ManyToOne(() => Claim, {
persist: false,
})
claim: Claim
claim: Rel<Claim>
@Property({
columnType: "integer",