From 7adb93f690b155098daebe25d816ab428860a455 Mon Sep 17 00:00:00 2001 From: Matt Simerson Date: Wed, 27 Dec 2023 15:40:11 -0800 Subject: [PATCH] dev(cc): increase complexity threshold --- .codeclimate.yml | 4 ++-- test/dns-list.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.codeclimate.yml b/.codeclimate.yml index 424a868..d7bc7e9 100644 --- a/.codeclimate.yml +++ b/.codeclimate.yml @@ -18,6 +18,6 @@ checks: method-lines: config: threshold: 30 -method-complexity: + method-complexity: config: - threshold: 6 \ No newline at end of file + threshold: 10 diff --git a/test/dns-list.js b/test/dns-list.js index 51e7afe..829fd4b 100644 --- a/test/dns-list.js +++ b/test/dns-list.js @@ -86,7 +86,7 @@ describe('check_zone', function () { }) describe('check_zones', function () { - this.timeout(20000) + this.timeout(22000) it('tests each block list', async function () { await this.plugin.check_zones(6000);