mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-25 10:01:30 -04:00
first commit
This commit is contained in:
committed by
mrugesh mohapatra
parent
d341b9c45e
commit
5bb3556bfd
15
probot/presolver/node_modules/jsonify/test/stringify.js
generated
vendored
Normal file
15
probot/presolver/node_modules/jsonify/test/stringify.js
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
var test = require('tap').test;
|
||||
var json = require('../');
|
||||
var garbage = require('garbage');
|
||||
|
||||
test('stringify', function (t) {
|
||||
for (var i = 0; i < 50; i++) {
|
||||
var obj = garbage(50);
|
||||
t.equal(
|
||||
json.stringify(obj),
|
||||
JSON.stringify(obj)
|
||||
);
|
||||
}
|
||||
|
||||
t.end();
|
||||
});
|
||||
Reference in New Issue
Block a user