@naturalcycles/dev-lib 13.2.3 → 13.3.0

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.
@@ -297,6 +297,11 @@ module.exports = {
297
297
  'jest/no-export': 0, // conflicts with typescript isolatedModules
298
298
  'jest/no-conditional-expect': 0,
299
299
  'jest/no-disabled-tests': 0,
300
+ 'jest/prefer-equality-matcher': 2,
301
+ 'jest/prefer-spy-on': 2,
302
+ 'jest/prefer-to-be': 2,
303
+ 'jest/prefer-to-contain': 2,
304
+ 'jest/consistent-test-it': [2, { fn: 'test', withinDescribe: 'test' }],
300
305
  '@typescript-eslint/no-namespace': [
301
306
  2,
302
307
  {
@@ -9,6 +9,7 @@ exports.expectResults = void 0;
9
9
  * ]).toMatchSnapshot()
10
10
  */
11
11
  function expectResults(fn, values) {
12
+ // eslint-disable-next-line jest/valid-expect
12
13
  return expect(new Map(values.map(v => [v, fn(v)])));
13
14
  }
14
15
  exports.expectResults = expectResults;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naturalcycles/dev-lib",
3
- "version": "13.2.3",
3
+ "version": "13.3.0",
4
4
  "scripts": {
5
5
  "prepare": "husky install",
6
6
  "tsn-debug": "tsn testScript.ts",