diff --git a/packages/compiler-cli/ngcc/test/execution/cluster/package_json_updater_spec.ts b/packages/compiler-cli/ngcc/test/execution/cluster/package_json_updater_spec.ts index c1f743cb0d..e5bd88cd5f 100644 --- a/packages/compiler-cli/ngcc/test/execution/cluster/package_json_updater_spec.ts +++ b/packages/compiler-cli/ngcc/test/execution/cluster/package_json_updater_spec.ts @@ -84,6 +84,7 @@ runInEachFileSystem(() => { describe('(on cluster worker)', () => { beforeEach(() => runAsClusterMaster(false)); + afterEach(() => expect(delegate.writeChanges).not.toHaveBeenCalled()); it('should send an `update-package-json` message to the master process', () => { const jsonPath = _('/foo/package.json');