test(ngcc): verify that PackageJsonUpdater
does not write to files from worker processes (#34870)
PR Close #34870
This commit is contained in:

committed by
Andrew Kushnir

parent
c99a4f8b3e
commit
8215b345e3
@ -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');
|
||||||
|
Reference in New Issue
Block a user