Slide 28
Slide 28 text
Split test bundles
• test bundleΛmodule୯ҐͰׂ,
bundle୯ҐͰKarmaϓϩηεΛىಈ
/* test.ts */
const context = require.context('./', true, /\.spec\.ts$/);
context.keys().map(context);
/* test-a.ts */
const context = require.context('./module-a', true, /\.spec\.ts$/);
context.keys().map(context);
/* test-b.ts */
const context = require.context('./module-b', true, /\.spec\.ts$/);
context.keys().map(context);