//
//  JSValueTests.swift
//  Tests
//
//  Created by Shams Ahmed on 19/05/2021.
//  Copyright © 2021 Bitrise. All rights reserved.
//

import Foundation
import XCTest
@testable import Trace
import JavaScriptCore

final class JSValueTests: XCTestCase {
    
    // MARK: - Setup
    
    override func setUp() {
        JSValue.bitrise_swizzle_methods()
    }
    
    override func tearDown() {
        
    }
    
    // MARK: - Tests
    
    func testJSValue() {
        let result = JSValue.bitrise_swizzle_methods()
        
        switch result {
            case .success: break
            default: XCTFail("failed to swizzle method")
        }
    }
}
