Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unrecognized pipeline stage name: '$unset' #200

Closed
suchy opened this issue Apr 10, 2020 · 2 comments
Closed

Unrecognized pipeline stage name: '$unset' #200

suchy opened this issue Apr 10, 2020 · 2 comments

Comments

@suchy
Copy link

suchy commented Apr 10, 2020

Hi,

I'm trying to test some of my code, where I'm using $unset stage when aggregating data and I'm getting this error:

MongoError: Unrecognized pipeline stage name: '$unset'

This is my jest-mogodb-config.js

module.exports = {
  mongodbMemoryServerOptions: {
    instance: {
      dbName: 'jest'
    },
    binary: {
      skipMD5: true
    },
    autoStart: false
  }
};

What am I doing wrong?

Thanks!

@randomhash
Copy link
Member

@suchy Hello. If it is still the case, could you please share the piece of code that you are trying to run?

@suchy
Copy link
Author

suchy commented Jul 10, 2020

@randomhash I went with different approach so can't tell if still an issue. Will close this issue ;-) Thanks for response!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants