How to store a huge array as test seed data?

#1

I have a huge array that I’d like to store as test seed data. Can someone give me an example of the following using [1,2,3]?

  1. the json structure
  2. the file name storing the array
  3. the file location
  4. how to load it in a jasmine test

Thanks

0 Likes

#2

You could define a test type with a function that returns this array. Test types are stored in repository/package/test/src/

0 Likes