Skip to content
On this page

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.