Skip to content

Commit 72fc7bf

Browse files
committed
lint fix
1 parent 67c8335 commit 72fc7bf

2 files changed

Lines changed: 11 additions & 12 deletions

File tree

test/gridsetProcessor.coverage.test.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
import { GridsetProcessor } from '../src/processors/gridsetProcessor';
2-
import { AACTree } from '../src/core/treeStructure';
32
import AdmZip from 'adm-zip';
43
import { XMLBuilder } from 'fast-xml-parser';
5-
import path from 'path';
6-
import fs from 'fs';
74

85
describe('GridsetProcessor Coverage Tests', () => {
96
describe('Metadata Extraction', () => {

test/validation.coverage.test.ts

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1-
import { ObfValidator, GridsetValidator, SnapValidator, TouchChatValidator } from '../src/validation';
2-
import { ValidationResult } from '../src/validation/validationTypes';
1+
import {
2+
ObfValidator,
3+
GridsetValidator,
4+
SnapValidator,
5+
TouchChatValidator,
6+
} from '../src/validation';
37
import JSZip from 'jszip';
48

59
describe('Validation Coverage Tests', () => {
@@ -344,13 +348,13 @@ describe('Validation Coverage Tests', () => {
344348
root: 'root.obf',
345349
paths: {
346350
boards: {
347-
'board1': 'boards/board1.obf',
351+
board1: 'boards/board1.obf',
348352
},
349353
images: {
350-
'img1': 'images/img1.png',
354+
img1: 'images/img1.png',
351355
},
352356
sounds: {
353-
'snd1': 'sounds/snd1.wav',
357+
snd1: 'sounds/snd1.wav',
354358
},
355359
},
356360
};
@@ -392,9 +396,7 @@ describe('Validation Coverage Tests', () => {
392396
const result = await new ObfValidator().validate(content, 'test.obz', content.length);
393397

394398
expect(result.valid).toBe(false);
395-
const hasManifestError = result.results.some(
396-
(r) => r.type === 'manifest' && r.error
397-
);
399+
const hasManifestError = result.results.some((r) => r.type === 'manifest' && r.error);
398400
expect(hasManifestError).toBe(true);
399401
});
400402

@@ -426,7 +428,7 @@ describe('Validation Coverage Tests', () => {
426428
root: 'boards/board1.obf',
427429
paths: {
428430
boards: {
429-
'board1': 'boards/board1.obf',
431+
board1: 'boards/board1.obf',
430432
},
431433
images: {},
432434
sounds: {},

0 commit comments

Comments
 (0)