Run before alls
This commit is contained in:
parent
d522ff70b4
commit
eee8a2e5f9
|
@ -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)
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue