(target)
| 10 | const supportsUniversalTarget = major > 5 || (major === 5 && minor >= 108); |
| 11 | |
| 12 | const compile = (target) => |
| 13 | webpack({ |
| 14 | target, |
| 15 | entry: "./lib/Server.js", |
| 16 | // A combined web + node target has no default chunk format |
| 17 | output: { path: "/", chunkFormat: "array-push" }, |
| 18 | }); |
| 19 | |
| 20 | describe("Server.isWebTarget", () => { |
| 21 | const cases = [ |
no outgoing calls
no test coverage detected
searching dependent graphs…