1
0
mirror of https://github.com/sasjs/adapter.git synced 2026-01-15 08:00:05 +00:00

fix(*): switch to file upload approach with large datasets and special characters

This commit is contained in:
Krishna Acondy
2020-07-11 11:27:45 +01:00
parent b614bafd03
commit 77d7e03de5
9 changed files with 216 additions and 193 deletions

View File

@@ -1,4 +1,4 @@
import SASjs from "sasjs";
import SASjs from "@sasjs/adapter";
import { TestSuite } from "../types";
const data: any = { table1: [{ col1: "first col value" }] };
@@ -12,7 +12,7 @@ export const sasjsRequestTests = (adapter: SASjs): TestSuite => ({
test: async () => {
return adapter.request("common/sendArr", data);
},
assertion: (res: any) => {
assertion: () => {
const requests = adapter.getSasRequests();
if (adapter.getSasjsConfig().debug) {
return requests[0].SASWORK !== null;