mirror of
https://github.com/sasjs/adapter.git
synced 2026-01-16 16:40:06 +00:00
test: make error and capture log, fixed
This commit is contained in:
@@ -27,7 +27,7 @@ export const sasjsRequestTests = (adapter: SASjs): TestSuite => ({
|
|||||||
test: async () => {
|
test: async () => {
|
||||||
return new Promise(async (resolve, reject) => {
|
return new Promise(async (resolve, reject) => {
|
||||||
adapter
|
adapter
|
||||||
.request("common/makeErr", data)
|
.request("common/makeErr", data, {debug: true})
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
//no action here, this request must throw error
|
//no action here, this request must throw error
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user