mirror of
https://github.com/Kong/insomnia
synced 2024-11-07 22:30:15 +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['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",
|
||||
|
Loading…
Reference in New Issue
Block a user