I’m trying to define a file products.js
that will just contain nothing but my test data:
testData = {}
testData.products = [
// ...
];
The problem is, my methods in fixtures.js
can’t see this variable for some reason. How do I make it global across all JS files in Cucumber?