how would I write a jest test that sets values in d1 manualy before running fetch tests?
how would I write a jest test that sets values in d1 manualy before running fetch tests?


__D1_BETA__ it won't work anymore3756? You likely want to give a bit more detail. A minimal reproduction repository is key.

Error: D1_ERROR: RangeError: Too many parameter values were provided with a query that had 24 valuesalter table and it fails with Error code 23: Authorization denied. Reading the table works. Tried both through wranger and through the web console. I'm the only admin in the org, there's noone more powerful. Any ideas?
ALTER TABLE statement are you trying to run? (Post the query)alter table emailsignups add column source TEXT CHECK(source IN ('A','B'));--localPRAGMA ignore_check_constraints __D1_BETA__3756Error: D1_ERROR: RangeError: Too many parameter values were providedalter tableError code 23: Authorization deniedALTER TABLEalter table emailsignups add column source TEXT CHECK(source IN ('A','B'));PRAGMA ignore_check_constraintsCREATE TABLE lines (
lineNum INT IDENTITY(1,1) NOT NULL UNIQUE,
lineCreator INT NOT NULL,
lineImage TEXT NOT NULL DEFAULT 'https://maps.lineonline.app/line_default.png',
lineName VARCHAR(100) NOT NULL,
lineDescription TEXT,
lineType VARCHAR(100) NOT NULL,
permanent BOOLEAN NOT NULL,
lineEndTime DATETIME NOT NULL,
lineStartTime DATETIME NOT NULL,
lineInPersonBuffer INT NOT NULL DEFAULT 5,
-- -1 = auto based on average time per person and adjusted by number of misses
lineNumberOfRetries INT NOT NULL DEFAULT 3,
lineTimeoutOfRetryEligibilityMins INT NOT NULL DEFAULT 61,
PRIMARY KEY (lineNum)
);insFields.hasOwnProperty('lineImage')