If you need to pass an array of dictionaries, it's not that different. Just replace the args variable above with
multiple values:
const args = [
// This is array of dictionaries
[
{name: "Boris", nickname: "The Blade"},
{name: "Franky", nickname: "Four-Fingers"},
],
]
Or maybe you want to pass dictionary with type {String: [String]}:
const args = [
{
names: ["Alice", "Bob", "Charlie"],
},
]
Framework will try to resolve the types to the best of its abilities. If you encounter an error for your use case,
please create an issue here: https://github.com/onflow/flow-js-testing/issues