Skip to content

Commit

Permalink
Implement unit tests for Apple Watch platform. (#365)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zandor300 authored Jan 15, 2024
1 parent 43a9f93 commit 949b0d5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ jobs:
- platform=iOS Simulator,name=iPhone SE (2nd generation)
- platform=tvOS Simulator,name=Apple TV
- platform=tvOS Simulator,name=Apple TV 4K (3rd generation)
- platform=watchOS Simulator,name=Apple Watch Series 8 (45mm)

steps:
- uses: actions/checkout@v2
Expand Down
3 changes: 2 additions & 1 deletion Tests/Tests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ class DeviceKitTests: XCTestCase {
XCTAssertTrue(device.description.contains("iPhone")
|| device.description.contains("iPad")
|| device.description.contains("iPod")
|| device.description.contains("TV"))
|| device.description.contains("TV")
|| device.description.contains("Apple Watch"))
}

func testIsCanvas() {
Expand Down

0 comments on commit 949b0d5

Please sign in to comment.