mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-10-02 23:06:36 +08:00
[优化] 优化 WAF IP 组同步功能及相关文档更新
This commit is contained in:
@@ -253,8 +253,8 @@ describe('WAF IP groups', () => {
|
||||
await userEvent.click(screen.getByRole('button', { name: /测试规则/ }));
|
||||
|
||||
expect(await screen.findByText('命中 2 个 IP。')).toBeInTheDocument();
|
||||
expect(screen.getByText('203.0.113.10')).toBeInTheDocument();
|
||||
expect(screen.getByText('203.0.113.11')).toBeInTheDocument();
|
||||
expect(screen.getByText(/203\.0\.113\.10/)).toBeInTheDocument();
|
||||
expect(screen.getByText(/203\.0\.113\.11/)).toBeInTheDocument();
|
||||
expect(testMock).toHaveBeenCalledWith({
|
||||
auto_config: expect.objectContaining({
|
||||
lookback_minutes: 60,
|
||||
|
||||
Reference in New Issue
Block a user