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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user