mirror of https://github.com/msgbyte/tailchat
test: wip: tspath for jest
parent
4c9f5ec5f2
commit
082a6bf611
@ -0,0 +1,12 @@
|
||||
import { buildDataFromValues } from '../helper';
|
||||
|
||||
describe('buildDataFromValues', () => {
|
||||
test.each([
|
||||
[
|
||||
{ name: 'name', type: 'type' },
|
||||
{ name: 'name', type: 'type' },
|
||||
],
|
||||
])('%o', (input, output) => {
|
||||
expect(buildDataFromValues(input)).toEqual(output);
|
||||
});
|
||||
});
|
Loading…
Reference in New Issue