mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-04-20 13:36:20 +00:00
Add test for TagColorsStorage
This commit is contained in:
@@ -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);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user