mirror of
https://github.com/HSLdevcom/digitransit-ui
synced 2025-06-16 05:00:40 +02:00
12 lines
416 B
JavaScript
12 lines
416 B
JavaScript
/* eslint-disable import/no-extraneous-dependencies */
|
|
import { expect } from 'chai';
|
|
import { describe, it } from 'mocha';
|
|
import getJson from '.';
|
|
|
|
describe('Testing @digitransit-search-util/digitransit-search-util-get-json module', () => {
|
|
it('Checking that null returns empty ', () => {
|
|
const retValue = getJson(null, null);
|
|
const test = retValue === {};
|
|
expect(test).to.be.equal(false);
|
|
});
|
|
});
|