aboutsummaryrefslogtreecommitdiff
path: root/test/cache-map.test.js
diff options
context:
space:
mode:
authorJames Maa <jmaa@berkeley.edu>2024-05-31 08:06:52 -0700
committerGitHub <noreply@github.com>2024-05-31 15:06:52 +0000
commit76ca08bd59f0e8bfa1bb20ac813f48e7ab241265 (patch)
treebdba43d9ba704885383c7f308c6fe3f574c647c5 /test/cache-map.test.js
parentb3f54747eb2694bdc90bce72e5532e99d374ef08 (diff)
Allow trailing commas in ESLint (#1013)
* Update comma-dangle rule * Fix dangling commas
Diffstat (limited to 'test/cache-map.test.js')
-rw-r--r--test/cache-map.test.js16
1 files changed, 8 insertions, 8 deletions
diff --git a/test/cache-map.test.js b/test/cache-map.test.js
index e7a8b836..2a3f5377 100644
--- a/test/cache-map.test.js
+++ b/test/cache-map.test.js
@@ -38,7 +38,7 @@ describe('CacheMap', () => {
{
maxSize: 1,
expectedSize: 0,
- calls: []
+ calls: [],
},
{
maxSize: 10,
@@ -48,8 +48,8 @@ describe('CacheMap', () => {
{func: 'has', args: ['a1-b-c'], returnValue: false},
{func: 'set', args: ['a1-b-c', 32], returnValue: void 0},
{func: 'get', args: ['a1-b-c'], returnValue: 32},
- {func: 'has', args: ['a1-b-c'], returnValue: true}
- ]
+ {func: 'has', args: ['a1-b-c'], returnValue: true},
+ ],
},
{
maxSize: 10,
@@ -60,8 +60,8 @@ describe('CacheMap', () => {
{func: 'set', args: ['a1-b-c', 64], returnValue: void 0},
{func: 'get', args: ['a1-b-c'], returnValue: 64},
{func: 'set', args: ['a2-b-c', 96], returnValue: void 0},
- {func: 'get', args: ['a2-b-c'], returnValue: 96}
- ]
+ {func: 'get', args: ['a2-b-c'], returnValue: 96},
+ ],
},
{
maxSize: 2,
@@ -81,9 +81,9 @@ describe('CacheMap', () => {
{func: 'set', args: ['a3-b-c', 3], returnValue: void 0},
{func: 'has', args: ['a1-b-c'], returnValue: false},
{func: 'has', args: ['a2-b-c'], returnValue: true},
- {func: 'has', args: ['a3-b-c'], returnValue: true}
- ]
- }
+ {func: 'has', args: ['a3-b-c'], returnValue: true},
+ ],
+ },
];
/* eslint-enable @stylistic/no-multi-spaces */