+ Use Istio ambient mode instead.
+
+ );
+
+ const paragraphs = Array.from(admonition().querySelectorAll('p')).map((p) => p.textContent);
+ expect(paragraphs).toHaveLength(2);
+ expect(paragraphs[0]).toMatch(/scheduled for removal/);
+ expect(paragraphs[1]).toBe('Use Istio ambient mode instead.');
+ });
+
+ // A mistyped status must fail the build rather than publish a page that says nothing.
+ it('throws on an unknown status', () => {
+ const quiet = jest.spyOn(console, 'error').mockImplementation(() => {});
+
+ expect(() => render(