Skip to content
On this page

Empower Your Test Results with AI-Powered Insights ->

setFormDataAdapter

Set custom form-data library

Defaults to form-data-lite

Usage

โœ… Correct Usage

js
setFormDataAdapter(form)

Arguments

> form (object)

form-data library.

Examples

Normal

js
const { settings } = require('pactum');
const FormData = require('form-data')

settings.setFormDataAdapter(FormData);

Released under the MIT License.