build: update to Node 10 (#25822)

PR Close #25822
This commit is contained in:
Alex Eagle
2018-09-05 12:38:53 -07:00
committed by Igor Minar
parent 268e9772d5
commit 34ec9244a6
15 changed files with 43 additions and 41 deletions

View File

@ -172,7 +172,7 @@ describe('ngc transformer command-line', () => {
const exitCode = main(['-p', 'not-exist'], errorSpy);
expect(errorSpy).toHaveBeenCalledTimes(1);
expect(errorSpy.calls.mostRecent().args[0]).toContain('no such file or directory');
expect(errorSpy.calls.mostRecent().args[0]).toContain('at Object.fs.lstatSync');
expect(errorSpy.calls.mostRecent().args[0]).toMatch(/at Object\.(fs\.)?lstatSync/);
expect(exitCode).toEqual(2);
});