capacitor-sockets/ios/Tests/SocketsPluginTests/SocketsPluginTests.swift

16 lines
439 B
Swift
Raw Normal View History

2024-10-03 05:03:39 +00:00
import XCTest
@testable import SocketsPlugin
class SocketsTests: XCTestCase {
func testEcho() {
// This is an example of a functional test case for a plugin.
// Use XCTAssert and related functions to verify your tests produce the correct results.
let implementation = Sockets()
let value = "Hello, World!"
let result = implementation.echo(value)
XCTAssertEqual(value, result)
}
}