Skip to content

tests passing without entering data #9

Open
@vital-tech-results

Description

@vital-tech-results

hey there! I'm having issues with getting tests to pass with the models exercises.

Steps taken

click to see my steps
  1. git clone url
  2. npm install
  3. navigate to the exercises/models directory and run this
  4. npm test exercises/models/__test__/
  5. tests pass even though I did not enter code for tests

on the connect.js file I entered this


const mongoose = require('mongoose')
mongoose.Promise = global.Promise

const connect = () => {
    return mongoose.connect('mongodb://localhost:27017/usersDatabase')
}
module.exports = connect

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions