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

(cherry picked from commit 72559010f7)

Co-authored-by: Spencer <email@spalger.com>
This commit is contained in:
Kibana Machine 2022-01-20 18:43:20 -05:00 committed by GitHub
parent 4311ccbe79
commit cb5be44db1
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