Sha256: 3ac6e462af29be9e70216fe7ce00dbafbcd3cdaa05f90699f7aa8bab110b81bd

Contents?: true

Size: 314 Bytes

Versions: 134

Compression:

Stored size: 314 Bytes

Contents

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();
});

Version data entries

134 entries across 133 versions & 14 rubygems

Version Path
ilog-0.4.1 node_modules/jsonify/test/stringify.js
ilog-0.4.0 node_modules/jsonify/test/stringify.js
ilog-0.3.3 node_modules/jsonify/test/stringify.js
govuk_publishing_components-18.0.0 node_modules/jsonify/test/stringify.js
govuk_publishing_components-17.21.0 node_modules/jsonify/test/stringify.js
govuk_publishing_components-17.20.0 node_modules/jsonify/test/stringify.js
govuk_publishing_components-17.19.1 node_modules/jsonify/test/stringify.js
govuk_publishing_components-17.19.0 node_modules/jsonify/test/stringify.js
govuk_publishing_components-17.18.0 node_modules/jsonify/test/stringify.js
govuk_publishing_components-17.17.0 node_modules/jsonify/test/stringify.js
govuk_publishing_components-17.16.0 node_modules/jsonify/test/stringify.js
govuk_publishing_components-17.15.0 node_modules/jsonify/test/stringify.js
govuk_publishing_components-17.14.0 node_modules/jsonify/test/stringify.js
govuk_publishing_components-17.13.0 node_modules/jsonify/test/stringify.js
govuk_publishing_components-17.12.2 node_modules/jsonify/test/stringify.js
govuk_publishing_components-17.12.1 node_modules/jsonify/test/stringify.js
govuk_publishing_components-17.12.0 node_modules/jsonify/test/stringify.js
govuk_publishing_components-17.11.0 node_modules/jsonify/test/stringify.js
govuk_publishing_components-17.10.0 node_modules/jsonify/test/stringify.js
govuk_publishing_components-17.9.0 node_modules/jsonify/test/stringify.js