@e22m4u/js-repository 0.0.35 → 0.0.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@e22m4u/js-repository",
3
- "version": "0.0.35",
3
+ "version": "0.0.36",
4
4
  "description": "Абстракция для работы с базами данных для Node.js",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -14,7 +14,7 @@ export class InvalidOperatorValueError extends Error {
14
14
  constructor(operator, expected, value) {
15
15
  super(
16
16
  format(
17
- 'Condition of {%s: ...} should have %s, %v given.',
17
+ 'Condition of {%s: ...} should have %s, but %v given.',
18
18
  operator,
19
19
  expected,
20
20
  value,
@@ -5,7 +5,7 @@ describe('InvalidOperatorValueError', function () {
5
5
  it('sets specific message', function () {
6
6
  const error = new InvalidOperatorValueError('exists', 'a boolean', '');
7
7
  const message =
8
- 'Condition of {exists: ...} should have a boolean, "" given.';
8
+ 'Condition of {exists: ...} should have a boolean, but "" given.';
9
9
  expect(error.message).to.be.eq(message);
10
10
  });
11
11
  });