TestPlatform

TestPlatform provides information about the platform tests are being run on to enable platform specific test configuration.

class Object
trait Matchable
class Any

Value members

Concrete fields

final val isJS: true

Returns whether the current platform is ScalaJS.

Returns whether the current platform is ScalaJS.

final val isJVM: false

Returns whether the currently platform is the JVM.

Returns whether the currently platform is the JVM.

final val isNative: false

Returns whether the current platform is Scala Native.

Returns whether the current platform is Scala Native.