Preview: populator.spec.ts
Size: 319 B
//proc/thread-self/root/home/byroehnu/.trash/node_modules11/adminjs/src/backend/utils/populator/populator.spec.ts
import { expect } from 'chai'
import populator from './populator.js'
describe('populator', () => {
context('empty array given as params', () => {
it('returns empty array when no records are given', async () => {
const records = await populator([])
expect(records).to.have.lengthOf(0)
})
})
})
Directory Contents
Dirs: 0 × Files: 6