import { mongoose , Schema } from '../../__mocks__/mongooseCommon' ; const MovieSchema = new Schema ( { _id : String , characters : { type : [ String ] , description : 'A character in the Movie, Person or Droid.' , } , director : { type : String , description : 'Directed the movie.' , } , imdbRatings : String , releaseDate : String , } ) ; export const MovieModel = mongoose . model ( 'Movie' , MovieSchema ) ;