test(ngcc): verify that `PackageJsonUpdater` does not write to files from worker processes (#34870)
PR Close #34870
This commit is contained in:
parent
68025ce09a
commit
43db4ffcd6
|
@ -84,6 +84,7 @@ runInEachFileSystem(() => {
|
||||||
|
|
||||||
describe('(on cluster worker)', () => {
|
describe('(on cluster worker)', () => {
|
||||||
beforeEach(() => runAsClusterMaster(false));
|
beforeEach(() => runAsClusterMaster(false));
|
||||||
|
afterEach(() => expect(delegate.writeChanges).not.toHaveBeenCalled());
|
||||||
|
|
||||||
it('should send an `update-package-json` message to the master process', () => {
|
it('should send an `update-package-json` message to the master process', () => {
|
||||||
const jsonPath = _('/foo/package.json');
|
const jsonPath = _('/foo/package.json');
|
||||||
|
|
Loading…
Reference in New Issue