Skip to content

Commit 2af828a

Browse files
authored
Merge pull request #178 from shrinishLT/DOT-4258
send ignoreType options to DOTUI
2 parents f605d9a + 53b0023 commit 2af828a

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/lib/processSnapshot.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,9 @@ export default async function processSnapshot(snapshot: Snapshot, ctx: Context):
238238
}
239239
}
240240
}
241+
if(options.ignoreType){
242+
processedOptions.ignoreType = options.ignoreType;
243+
}
241244
}
242245

243246
// process for every viewport

src/types.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,8 @@ export interface Snapshot {
103103
devices: string[],
104104
fullPage?: boolean,
105105
orientation?: string
106-
}
106+
},
107+
ignoreType?: string[]
107108
}
108109
}
109110

0 commit comments

Comments
 (0)