ForestAdmin/lumber

View on GitHub
test-fixtures/mongo/nested-array-of-numbers-model.js

Summary

Maintainability
A
0 mins
Test Coverage
const { ObjectID } = require('mongodb');

const persons = [
  {
    _id: ObjectID(),
    name: 'James Cameron',
    propArrayOfNumbers: [1, 2, 3],
  },
];

module.exports = { persons };