aboutsummaryrefslogtreecommitdiff
path: root/test/cache-map.test.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2024-01-27 04:01:37 -0500
committerGitHub <noreply@github.com>2024-01-27 09:01:37 +0000
commit7a142bbafd6aa6ca5fe296ba3012158d8f2e75dc (patch)
tree698be195228b5b739a2acf77e34906b56fb80eca /test/cache-map.test.js
parenta3224f688f44c9c913f32add1223e922ce88e65a (diff)
Remove unneeded eslint disables (#554)
* Install eslint-plugin-eslint-comments * Update rules, fix issues
Diffstat (limited to 'test/cache-map.test.js')
-rw-r--r--test/cache-map.test.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/cache-map.test.js b/test/cache-map.test.js
index 72579f25..868c5d9a 100644
--- a/test/cache-map.test.js
+++ b/test/cache-map.test.js
@@ -16,8 +16,6 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
-/* eslint-disable no-multi-spaces */
-
import {describe, expect, test} from 'vitest';
import {CacheMap} from '../ext/js/general/cache-map.js';
@@ -39,6 +37,7 @@ function testConstructor() {
/** */
function testApi() {
describe('api', () => {
+ /* eslint-disable no-multi-spaces */
const data = [
{
maxSize: 1,
@@ -90,6 +89,7 @@ function testApi() {
]
}
];
+ /* eslint-enable no-multi-spaces */
test.each(data)('api-test-%#', ({maxSize, expectedSize, calls}) => {
const cache = new CacheMap(maxSize);