diff options
| author | Ben Beltran <ben@nsovocal.com> | 2019-03-14 23:19:58 +0100 |
|---|---|---|
| committer | Ben Beltran <ben@nsovocal.com> | 2019-03-14 23:19:58 +0100 |
| commit | b009b50e81b6c1d0d691505b5f5c0418f559bfc0 (patch) | |
| tree | 5fae800e76219eba28634cb236565f9b4bb7a2f7 /atom/packages/pretty-json/node_modules/jsonminify/test | |
| parent | 4efcafab7f0aa454f9ebe767133654bc9f44e12c (diff) | |
Remove Atom config
Diffstat (limited to 'atom/packages/pretty-json/node_modules/jsonminify/test')
4 files changed, 0 insertions, 50 deletions
diff --git a/atom/packages/pretty-json/node_modules/jsonminify/test/comment.json b/atom/packages/pretty-json/node_modules/jsonminify/test/comment.json deleted file mode 100644 index 0cddc5f..0000000 --- a/atom/packages/pretty-json/node_modules/jsonminify/test/comment.json +++ /dev/null @@ -1,12 +0,0 @@ -{ // hoge - "foo": "bar",// this is cool - "bar": [ - "baz", "bum", /** aaaa **/"zam" // this is cool - ], - /* the rest of this document is just fluff - in case you are interested. */ - "something": 10, - /** the rest of this document is just fluff - *in case you are interested. */ - "else": 20 -} // hoge diff --git a/atom/packages/pretty-json/node_modules/jsonminify/test/mocha.opts b/atom/packages/pretty-json/node_modules/jsonminify/test/mocha.opts deleted file mode 100644 index 98c1dcd..0000000 --- a/atom/packages/pretty-json/node_modules/jsonminify/test/mocha.opts +++ /dev/null @@ -1,4 +0,0 @@ ---ui bdd ---reporter spec ---timeout 5000 ---require should diff --git a/atom/packages/pretty-json/node_modules/jsonminify/test/plain.json b/atom/packages/pretty-json/node_modules/jsonminify/test/plain.json deleted file mode 100644 index e60f726..0000000 --- a/atom/packages/pretty-json/node_modules/jsonminify/test/plain.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "foo": "bar", - "bar": [ - "baz", "bum", "zam" - ], - "something": 10, - "else": 20 -} diff --git a/atom/packages/pretty-json/node_modules/jsonminify/test/test-minify.json.js b/atom/packages/pretty-json/node_modules/jsonminify/test/test-minify.json.js deleted file mode 100644 index be56ea3..0000000 --- a/atom/packages/pretty-json/node_modules/jsonminify/test/test-minify.json.js +++ /dev/null @@ -1,26 +0,0 @@ -var fs = require('fs'); - -var should = require('should'); - -require('../minify.json.js'); - -describe('JSON.minify', function() { - it('define', function() { - JSON.minify.should.be.ok; - }); - it('in-memory string', function() { - var json = '{"key":"value"}'; - var res = JSON.minify(json); - JSON.parse(res).key.should.equal('value'); - }); - it('comment.json', function() { - var json = fs.readFileSync(__dirname + '/comment.json', 'utf8'); - var res = JSON.parse(JSON.minify(json)); - res.foo.should.equal('bar'); - }); - it('comment.json', function() { - var json = fs.readFileSync(__dirname + '/plain.json', 'utf8'); - var res = JSON.parse(JSON.minify(json)); - res.foo.should.equal('bar'); - }); -}); |