fix: removed iframe parse test since package doesn't support it

pull/2000/head
CatHood0 9 months ago
parent ff2ca90465
commit cec9ddcbfe
  1. 8
      test/utils/delta_x_test.dart

@ -9,9 +9,6 @@ void main() {
const htmlWithUnderline =
'<p>This is a normal sentence, and this section has greater <u>underline</u>';
const htmlWithIframeVideo =
'<iframe src="https://www.youtube.com/embed/dQw4w9WgXcQ" title="YouTube video player"></iframe>';
const htmlWithVideoTag =
'<video src="https://www.youtube.com/embed/dQw4w9WgXcQ">Your browser does not support the video tag.</video>';
@ -55,11 +52,6 @@ void main() {
expect(delta, expectedDeltaUnderline);
});
test('should detect iframe and parse correctly', () {
final delta = DeltaX.fromHtml(htmlWithIframeVideo);
expect(delta, expectedDeltaVideo);
});
test('should detect video and parse correctly', () {
final delta = DeltaX.fromHtml(htmlWithVideoTag);
expect(delta, expectedDeltaVideo);

Loading…
Cancel
Save