Skip to content

Commit bb385c5

Browse files
committed
fix test
1 parent bc5c2e1 commit bb385c5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

flutter/example/integration_test/web_sdk_test.dart

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ void main() {
133133
await SentryFlutter.init((options) {
134134
options.enableSentryJs = true;
135135
options.dsn = fakeDsn;
136+
options.attachScreenshot = true;
136137

137138
confOptions = options;
138139
}, appRunner: () async {
@@ -141,6 +142,10 @@ void main() {
141142
);
142143
});
143144
});
145+
expect(
146+
confOptions?.sdk.integrations.contains("screenshotIntegration"),
147+
isTrue,
148+
);
144149
expect(
145150
confOptions?.sdk.integrations.contains("widgetsBindingIntegration"),
146151
isTrue,

0 commit comments

Comments
 (0)