httpsnippet out of Webpack (Fixes #640)

This commit is contained in:
Gregory Schier committed 2017-11-30 11:21:42 +00:00
1 parent a0685c882e
commit fd0e36f6cf
3 files changed
+5910 -1

No files matched your search

+5900
View File
File diff suppressed because it is too large. Load diff
@@ -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);
});
});
-1
View File
@@ -67,7 +67,6 @@
"codemirror-graphql",
"graphql",
"highlight.js",
"insomnia-httpsnippet",
"jwt-authentication",
"moment",
"nunjucks",