mirror of
https://github.com/Kong/insomnia
synced 2024-11-08 06:39:48 +00:00
httpsnippet out of Webpack (Fixes #640)
This commit is contained in:
parent
a0685c882e
commit
fd0e36f6cf
@ -21,4 +21,14 @@ describe('package.json', () => {
|
|||||||
expect(globalPackage.dependencies['graphql']).toBe('^0.10.5');
|
expect(globalPackage.dependencies['graphql']).toBe('^0.10.5');
|
||||||
expect(globalPackage.dependencies['codemirror-graphql']).toBe('^0.6.11');
|
expect(globalPackage.dependencies['codemirror-graphql']).toBe('^0.6.11');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
it('packages must be included in webpack build or else errors happen', () => {
|
||||||
|
// If this is built by Webpack it fails on multipart/form-data
|
||||||
|
expect(globalPackage.packedDependencies.includes('httpsnippet')).toBe(false);
|
||||||
|
});
|
||||||
|
|
||||||
|
it('packages must NOT be included in webpack build or else errors happen', () => {
|
||||||
|
// PDFJS breaks if not part of Webpack build
|
||||||
|
expect(globalPackage.packedDependencies.includes('pdfjs-dist')).toBe(true);
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
@ -67,7 +67,6 @@
|
|||||||
"codemirror-graphql",
|
"codemirror-graphql",
|
||||||
"graphql",
|
"graphql",
|
||||||
"highlight.js",
|
"highlight.js",
|
||||||
"insomnia-httpsnippet",
|
|
||||||
"jwt-authentication",
|
"jwt-authentication",
|
||||||
"moment",
|
"moment",
|
||||||
"nunjucks",
|
"nunjucks",
|
||||||
|
Loading…
Reference in New Issue
Block a user