File: 2003_fix-eslint-mocha.patch

package info (click to toggle)
node-file-entry-cache 6.0.1%2B~3.0.4%2B~2.0.0%2B~1.0.0%2B~2.0.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 988 kB
  • sloc: javascript: 1,821; makefile: 58; sh: 1
file content (18 lines) | stat: -rw-r--r-- 581 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: fix eslint/mocha
 mocha/no-hooks-for-single-case doesn't exist with current eslint/mocha
Author: Yadd <yadd@debian.org>
Bug-Debian: https://bugs.debian.org/1005162
Forwarded: not-needed
Last-Update: 2022-02-08
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/test/specs/cache.js
+++ b/test/specs/cache.js
@@ -304,7 +304,6 @@
 
   describe('saving custom metadata', function () {
     var cache2;
-    // eslint-disable-next-line mocha/no-hooks-for-single-case
     afterEach(function () {
       cache2 && cache2.deleteCacheFile();
     });