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
govuk_publishing_components-17.8.0 node_modules/jsonify/test/stringify.js
govuk_publishing_components-17.7.0 node_modules/jsonify/test/stringify.js
govuk_publishing_components-17.6.1 node_modules/jsonify/test/stringify.js
govuk_publishing_components-17.6.0 node_modules/jsonify/test/stringify.js
govuk_publishing_components-17.5.0 node_modules/jsonify/test/stringify.js
govuk_publishing_components-17.4.0 node_modules/jsonify/test/stringify.js
govuk_publishing_components-17.3.0 node_modules/jsonify/test/stringify.js
govuk_publishing_components-17.2.0 node_modules/jsonify/test/stringify.js
govuk_publishing_components-17.1.1 node_modules/jsonify/test/stringify.js
govuk_publishing_components-17.1.0 node_modules/jsonify/test/stringify.js
govuk_publishing_components-17.0.0 node_modules/jsonify/test/stringify.js
govuk_publishing_components-16.29.0 node_modules/jsonify/test/stringify.js
govuk_publishing_components-16.28.0 node_modules/jsonify/test/stringify.js
govuk_publishing_components-16.27.1 node_modules/jsonify/test/stringify.js
govuk_publishing_components-16.27.0 node_modules/jsonify/test/stringify.js
govuk_publishing_components-16.26.0 node_modules/jsonify/test/stringify.js
govuk_publishing_components-16.25.0 node_modules/jsonify/test/stringify.js
govuk_publishing_components-16.24.0 node_modules/jsonify/test/stringify.js
govuk_publishing_components-16.23.0 node_modules/jsonify/test/stringify.js
govuk_publishing_components-16.22.0 node_modules/jsonify/test/stringify.js