From d850a22a234698244c7f1e0c0cae16d595b87ae0 Mon Sep 17 00:00:00 2001 From: Carlo Piovesan Date: Tue, 17 Sep 2024 13:04:48 +0200 Subject: [PATCH] More lax approx_count_distinct test --- test/prepare.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/prepare.test.ts b/test/prepare.test.ts index a48debee..0e896e5c 100644 --- a/test/prepare.test.ts +++ b/test/prepare.test.ts @@ -586,7 +586,7 @@ describe('prepare', function() { }); it("should aggregate approx_count_distinct(flt)", function (done) { db.all("SELECT approx_count_distinct(flt) as approx_count_distinct FROM foo", function (err: null | Error, res: TableData) { - assert.ok(res[0].approx_count_distinct >= 950); + assert.ok(res[0].approx_count_distinct >= 940); done(err); }); });