29 lines
673 B
TypeScript
29 lines
673 B
TypeScript
|
|
import { describe, 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()
|
||
|
|
]
|
||
|
|
console.log("Costumers", costumers)
|
||
|
|
})
|
||
|
|
test("generacion de address", () => {
|
||
|
|
const costumers = [
|
||
|
|
ADDRESS.randomValue()
|
||
|
|
]
|
||
|
|
console.log("ADDRESS", costumers)
|
||
|
|
})
|
||
|
|
test("generacion de 3 order distintos", () => {
|
||
|
|
const orders = [
|
||
|
|
ORDER.randomValue(),
|
||
|
|
]
|
||
|
|
|
||
|
|
console.log(orders)
|
||
|
|
})
|
||
|
|
})
|