Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Ross Bulat committed Jun 13, 2024
1 parent 1a2b3be commit 8f50c43
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/model/Scraper/Types/BitSequence.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ import type { MetadataScraper } from '..';
import type { TrailParam } from '../types';
import type { BitSequenceType, MetadataType } from './types';

// Class to hold a sequence type.
// Class to hold a bit sequence type.
export class BitSequence implements MetadataType {
// The raw lookup data of this type.
lookup: LookupItem;

// The type of this sequence.
// The type of this bit sequence.
bitSequence: BitSequenceType;

constructor(bitSequence: BitSequenceType, lookup: LookupItem) {
Expand Down
3 changes: 2 additions & 1 deletion test/metadata14/tuple.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ describe('Basic tuple structure is intact', () => {
lookupTuple.every(
(item: AnyJson) =>
Array.isArray(item) &&
item.every((i: number) => typeof i === 'number' && item.length > 0)
item.every((i: number) => typeof i === 'number') &&
item.length > 0
);
});
});

0 comments on commit 8f50c43

Please sign in to comment.