We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I tried to use an example from here: https://github.com/ioBroker/testing#example
And it works only after modifications:
assertObjectExists(theObject._id);
=>
expect(database.hasObject(theObject._id)).to.be.true;
Of course at the start I added const { expect } = require('chai');
const { expect } = require('chai');
The text was updated successfully, but these errors were encountered:
Thanks, I'll check it out.
Sorry, something went wrong.
@GermanBluefox Do you have a repo where I can reproduce this error without creating a new one?
the Example how this can be used in a unit test is using a deprecated function
/** @deprecated Adapter startup unit tests are no longer supported */ unit: typeof testAdapterWithMocks;
Can you be more specific what the problem is? Screenshot or something is fine.
AlCalzone
No branches or pull requests
I tried to use an example from here: https://github.com/ioBroker/testing#example
And it works only after modifications:
=>
Of course at the start I added
const { expect } = require('chai');
The text was updated successfully, but these errors were encountered: