Skip to content

Commit 998acd4

Browse files
committed
test: fixing lint
fix lint
1 parent 5c07ede commit 998acd4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/parallel/test-source-map-api.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -99,17 +99,17 @@ const { readFileSync } = require('fs');
9999
assert.notStrictEqual(payload.sources, sourceMap.payload.sources);
100100
}
101101

102-
// findEntry() must return empty object instead error when
102+
// findEntry() must return empty object instead error when
103103
// receive a malformed mappings.
104104
{
105105
const payload = JSON.parse(readFileSync(
106106
require.resolve('../fixtures/source-map/disk.map'), 'utf8'
107107
));
108-
payload.mappings = ";;;;;;;;;"
108+
payload.mappings = ';;;;;;;;;';
109109

110110
const sourceMap = new SourceMap(payload);
111111
const result = sourceMap.findEntry(0, 5);
112-
assert.strictEqual(typeof result, "object");
112+
assert.strictEqual(typeof result, 'object');
113113
assert.strictEqual(Object.keys(result).length, 0);
114114
}
115115

0 commit comments

Comments
 (0)