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

Updated tests to use connector syntax #308

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zumoshi
Copy link

@zumoshi zumoshi commented Nov 23, 2021

Running tests gives deprecated warnings.

λ deno test --allow-env --allow-read --allow-net --allow-write
running 1 test from file:///.../denodb/tests/units/Relationships/foreignkey.test.ts
test MySQL: Foreign key test ...[denodb]: DEPRECATION warning, the usage with dialect instead of connector is deprecated and will be removed in future versions.
[denodb]: If you want to disable this warning pass `disableDialectUsageDeprecationWarning: true` with the dialect in the Database constructor.
[denodb]: If you want to migrate to the current behavior, visit https://github.com/eveningkid/denodb/blob/master/docs/v1.0.21-migrations/connectors.md for help
INFO connecting 127.0.0.1:3306
INFO connected to 127.0.0.1:3306
INFO close connection

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

Successfully merging this pull request may close these issues.

None yet

1 participant