diff --git a/__tests__/index.js b/__tests__/index.js index 3a0428a..56e12a7 100644 --- a/__tests__/index.js +++ b/__tests__/index.js @@ -3,10 +3,12 @@ const src = require('..') const dist = require('../dist') +const qs = require('querystring') + test('qs.src', () => { - expect(src.f()).toBe('foo=foo&bar=bar&zoo=zoo&haa=haa') + expect(qs.parse(src.f())).toEqual(qs.parse('foo=foo&bar=bar&zoo=zoo&haa=haa')) }) test('qs.dist', () => { - expect(dist.f()).toBe('foo=foo&bar=bar&zoo=zoo&haa=haa') + expect(qs.parse(dist.f())).toEqual(qs.parse('foo=foo&bar=bar&zoo=zoo&haa=haa')) }) \ No newline at end of file diff --git a/jscrambler.json b/jscrambler.json index d87852f..7a2501e 100644 --- a/jscrambler.json +++ b/jscrambler.json @@ -1,9 +1,9 @@ { "keys": { - "accessKey": "5A9460E67570F59D100CE5FB88899667334E48D6", - "secretKey": "B59FD04E7A80CCD038F25C84C208FBD2DF5776B9" + "accessKey": "", + "secretKey": "" }, - "applicationId": "591a253247dc200012bee734", + "applicationId": "", "params": [ { "options": {