[plugin-helpers/tests] filter out ci-stats warnings (#123510)

This commit is contained in:
Spencer 2022-01-20 15:19:13 -07:00 committed by GitHub
parent eb17b10203
commit 72559010f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -60,7 +60,12 @@ it('builds a generated plugin into a viable archive', async () => {
}
);
expect(buildProc.all).toMatchInlineSnapshot(`
expect(
buildProc.all
?.split('\n')
.filter((l) => !l.includes('failed to reach ci-stats service'))
.join('\n')
).toMatchInlineSnapshot(`
" info deleting the build and target directories
info running @kbn/optimizer
info initialized, 0 bundles cached