mirror of
https://github.com/Kong/insomnia.git
synced 2026-10-24 07:39:10 -04:00
httpsnippet out of Webpack (Fixes #640)
This commit is contained in:
1 parent
a0685c882e
commit
fd0e36f6cf
3 files changed
+5910
-1
No files matched your search
@@ -21,4 +21,14 @@ describe('package.json', () => {
|
||||
expect(globalPackage.dependencies['graphql']).toBe('^0.10.5');
|
||||
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",
|
||||
"graphql",
|
||||
"highlight.js",
|
||||
"insomnia-httpsnippet",
|
||||
"jwt-authentication",
|
||||
"moment",
|
||||
"nunjucks",
|
||||
|
||||
Reference in new issue
Block a user