Skip to content

Commit

Permalink
Merge pull request #146 from MattiLehtinen/dependabot/npm_and_yarn/es…
Browse files Browse the repository at this point in the history
…lint-plugin-unicorn-47.0.0

chore(deps-dev): bump eslint-plugin-unicorn from 46.0.0 to 47.0.0
  • Loading branch information
perrin4869 authored Jun 2, 2023
2 parents 300cad4 + 059d371 commit faae145
Showing 3 changed files with 52 additions and 46 deletions.
92 changes: 49 additions & 43 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -67,7 +67,7 @@
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-n": "^16.0.0",
"eslint-plugin-unicorn": "^46.0.0",
"eslint-plugin-unicorn": "^47.0.0",
"mock-cwd": "^1.0.0",
"mssql": "^9.1.1",
"mysql": "^2.18.1",
4 changes: 2 additions & 2 deletions test/postgrator-cli-tests.js
Original file line number Diff line number Diff line change
@@ -159,7 +159,7 @@ function buildTestsForOptions(options) {
});

const migrations = await run(args);
expect(migrations[migrations.length - 1].version).to.equal(3);
expect(migrations.at(-1).version).to.equal(3);
});

tests.push(() => {
@@ -426,7 +426,7 @@ function buildTestsForOptions(options) {
console.log('\n----- testing using migration number at the end -----');

const migrations = await run(['--config', 'test/sample-config.json', '0003']);
expect(migrations[migrations.length - 1].version).to.equal(3);
expect(migrations.at(-1).version).to.equal(3);
});

tests.push(resetMigrations);

0 comments on commit faae145

Please sign in to comment.