Test time out when I am Create Many Records with model.create()

Tell us what’s happening:
Hi need help about this code, if i run the test i get “Test time out” or
“// running tests
Creating many db items at once should succeed
// tests completed”

I dint understand what wrong with the following code

Your code so far

var arrayOfPeople = [ {name: "Frankie", age: 74, favoriteFoods: ["Del Taco"]}, {name: "Sol", age: 76, favoriteFoods: ["roast chicken"]}, {name: "Robert", age: 78, favoriteFoods: ["wine"]} ];

var createManyPeople = function(arrayOfPeople, done) {
Person.create(arrayOfPeople, function (err, people) {
if (err) return console.log(err);
done(null, people);

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.129 Safari/537.36 OPR/68.0.3618.63.

Challenge: undefined

Link to the challenge:

I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

See this post to find the backtick on your keyboard. The “preformatted text” tool in the editor (</>) will also add backticks around text.

Note: Backticks are not single quotes.


Ok thanks about the information