Skip to content

Commit

Permalink
Add test in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-megh-l committed Mar 5, 2024
1 parent 2e61f6f commit b032b30
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/app-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,7 @@ jobs:
java-version: 17.0.6
cache: 'gradle'
distribution: adopt
- name: Run Tests
run: ./gradlew test
- name: Build with Gradle
run: ./gradlew build
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,8 @@ class QuillTextManagerTest {
Assert.assertTrue(quillEditorState.manager.quillTextSpans[0].style.contains(TextSpanStyle.BoldStyle))
Assert.assertTrue(quillEditorState.manager.quillTextSpans[0].style.contains(TextSpanStyle.H1Style))
Assert.assertFalse(quillEditorState.manager.quillTextSpans[1].style.contains(TextSpanStyle.H1Style))
Assert.assertTrue(quillEditorState.manager.quillTextSpans[1].style.contains(TextSpanStyle.BoldStyle))
//Making false For testing
Assert.assertFalse(quillEditorState.manager.quillTextSpans[1].style.contains(TextSpanStyle.BoldStyle))
}

@Test
Expand Down

0 comments on commit b032b30

Please sign in to comment.