Run before alls

This commit is contained in:
Adria Navarro 2023-09-12 20:49:47 +02:00
parent d522ff70b4
commit eee8a2e5f9
1 changed files with 3 additions and 3 deletions

View File

@ -500,7 +500,7 @@ describe.each([
}) })
describe("patch", () => { describe("patch", () => {
beforeEach(async () => { beforeAll(async () => {
const tableConfig = generateTableConfig() const tableConfig = generateTableConfig()
table = await config.createTable(tableConfig) table = await config.createTable(tableConfig)
}) })
@ -554,7 +554,7 @@ describe.each([
}) })
describe("destroy", () => { describe("destroy", () => {
beforeEach(async () => { beforeAll(async () => {
const tableConfig = generateTableConfig() const tableConfig = generateTableConfig()
table = await config.createTable(tableConfig) table = await config.createTable(tableConfig)
}) })
@ -579,7 +579,7 @@ describe.each([
}) })
describe("validate", () => { describe("validate", () => {
beforeEach(async () => { beforeAll(async () => {
const tableConfig = generateTableConfig() const tableConfig = generateTableConfig()
table = await config.createTable(tableConfig) table = await config.createTable(tableConfig)
}) })