Linting
Signed-off-by: Fawzi Abdulfattah <iifawzie@gmail.com>
This commit is contained in:
parent
b8601170ee
commit
5bd1e909c7
@ -3,7 +3,7 @@
|
||||
const Functions = require('phpmyadmin/functions');
|
||||
|
||||
describe('Functions', () => {
|
||||
describe('Testing stringifyJSON', function() {
|
||||
describe('Testing stringifyJSON', function () {
|
||||
test('Should return the stringified JSON input', () => {
|
||||
const stringifiedJSON = Functions.stringifyJSON('{ "lang": "php"}', null, 4);
|
||||
expect(stringifiedJSON).toEqual('{\n "lang": "php"\n}');
|
||||
@ -13,5 +13,5 @@ describe('Functions', () => {
|
||||
const stringifiedJSON = Functions.stringifyJSON('{ "name": "notvalid}');
|
||||
expect(stringifiedJSON).toEqual('{ "name": "notvalid}');
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user