Add test for TagColorsStorage

This commit is contained in:
Alejandro Celaya
2023-08-06 17:11:27 +02:00
parent 89e75653d7
commit 75fed53ba4
2 changed files with 38 additions and 2 deletions

View File

@@ -10,13 +10,13 @@ describe('csvjson', () => {
];
describe('csvToJson', () => {
test('parses CSVs as expected', async () => {
it('parses CSVs as expected', async () => {
expect(await csvToJson(csv)).toEqual(json);
});
});
describe('jsonToCsv', () => {
test('parses JSON as expected', () => {
it('parses JSON as expected', () => {
expect(jsonToCsv(json)).toEqual(csv);
});
});