mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:31:27 +00:00
Added custom enviroment flags for unit and UI tests.
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
//
|
||||
// Application.swift
|
||||
// UITests
|
||||
//
|
||||
// Created by Stefan Ceriu on 13/04/2022.
|
||||
// Copyright © 2022 element.io. All rights reserved.
|
||||
//
|
||||
|
||||
import XCTest
|
||||
|
||||
struct Application {
|
||||
func launch() {
|
||||
let app = XCUIApplication()
|
||||
app.launchEnvironment = ["IS_RUNNING_UI_TESTS": "1"]
|
||||
app.launch()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user