El precio segun divisas corresponde con el total, la divisa del SET es la del origen siempre
30 lines
695 B
TypeScript
30 lines
695 B
TypeScript
import { describe, expect, test } from "vitest";
|
|
import { ORDER } from "./ORDER";
|
|
import { CUSTOMER } from "./CUSTOMER";
|
|
import { ADDRESS } from "./ADDRESS";
|
|
|
|
|
|
describe("Test pool", () => {
|
|
|
|
test("generacion de costumers", () => {
|
|
const costumers = [
|
|
CUSTOMER.randomValue()
|
|
]
|
|
expect(costumers[0]).toBeDefined()
|
|
})
|
|
test("generacion de address", () => {
|
|
const address = [
|
|
ADDRESS.randomValue()
|
|
]
|
|
expect(address[0]).toBeDefined()
|
|
})
|
|
test("generacion de 3 order distintos", () => {
|
|
const orders = [
|
|
ORDER.randomValue(),
|
|
]
|
|
|
|
console.dir(orders, { depth: null })
|
|
})
|
|
|
|
})
|