Skip to content
On this page

Empower Your Test Results with AI-Powered Insights ->

getDataMap

Gets the data map.

Syntax

js
getDataMap(maps)

Usage

โœ… Correct Usage

js
stash.getDataMap();

Examples

js
const { stash } = require('pactum');

stash.addDataMap({
  'User': {
    "name": "morpheus",
    "job": "leader"
  }
});

const data_map = stash.getDataMap();

Released under the MIT License.