Skip to content

Commit a56ffa6

Browse files
committed
refactor(attachments): specify type for AttachmentQueue in tests
This commit updates the type definition for the `queue` variable in the attachments test file to explicitly use `AttachmentQueue<NodeFileSystemAdapter>`. This change enhances type safety and clarity in the test setup, aligning with recent refinements in the local storage adapter interfaces.
1 parent 5120755 commit a56ffa6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/node/tests/attachments.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const mockRemoteStorage: RemoteStorageAdapter = {
3939
const mockLocalStorage = new NodeFileSystemAdapter('./temp/attachments');
4040

4141
let db: AbstractPowerSyncDatabase;
42-
let queue: AttachmentQueue;
42+
let queue: AttachmentQueue<NodeFileSystemAdapter>;
4343
const schema = new Schema({
4444
users: new Table({
4545
name: column.text,

0 commit comments

Comments
 (0)