mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 16:22:20 +00:00
style: format the phase 2 files and add them to the format scope
Prettier on the 13 new test files that failed --check; format-scope.json now lists every file phase 2 added (src/globe/**, engineChoice, navaraMode, cameraAngles, the QA scripts and pages, build/navaraAssets and tests).
This commit is contained in:
1 parent
312ed416e9
commit
80cc0b536e
14 files changed
+229
-46
No files matched your search
@@ -107,7 +107,10 @@ test('modifiers: a listener fires only for its own key, an unmodified one only w
|
||||
test('on validates its arguments and returns an idempotent remover', () => {
|
||||
const { canvas, input } = setup();
|
||||
assert.throws(() => input.on('wheel', () => {}), TypeError);
|
||||
assert.throws(() => input.on('click', () => {}, { modifier: 'meta' }), TypeError);
|
||||
assert.throws(
|
||||
() => input.on('click', () => {}, { modifier: 'meta' }),
|
||||
TypeError,
|
||||
);
|
||||
let count = 0;
|
||||
const off = input.on('down', () => count++);
|
||||
off();
|
||||
|
||||
Reference in new issue
Block a user