object nodeAssertMod
- Source
- nodeAssertMod.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- nodeAssertMod
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- class AssertionError extends assertMod.AssertionError
- Annotations
- @JSType() @JSImport("node:assert", "AssertionError") @native()
- class CallTracker extends assertMod.CallTracker
- Annotations
- @JSType() @JSImport("node:assert", "CallTracker") @native()
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val ^: Any
- Annotations
- @JSImport("node:assert", JSImport.Namespace) @native()
- def apply(value: Any, message: Error): Boolean
- Annotations
- @inline()
- def apply(value: Any, message: java.lang.String): Boolean
- Annotations
- @inline()
- def apply(value: Any): Boolean
An alias of
assert.ok().An alias of
assert.ok().- Annotations
- @inline()
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- def deepEqual(actual: Any, expected: Any, message: Error): Unit
- Annotations
- @inline()
- def deepEqual(actual: Any, expected: Any, message: java.lang.String): Unit
- Annotations
- @inline()
- def deepStrictEqual[T](actual: Any, expected: T, message: Error): Boolean
- Annotations
- @inline()
- def deepStrictEqual[T](actual: Any, expected: T, message: java.lang.String): Boolean
- Annotations
- @inline()
- def deepStrictEqual[T](actual: Any, expected: T): Boolean
- Annotations
- @inline()
- def doesNotMatch(value: java.lang.String, regExp: RegExp, message: Error): Unit
- Annotations
- @inline()
- def doesNotMatch(value: java.lang.String, regExp: RegExp, message: java.lang.String): Unit
- Annotations
- @inline()
- def doesNotMatch(value: java.lang.String, regExp: RegExp): Unit
- Annotations
- @inline()
- def doesNotReject(block: Promise[Any], message: Error): Promise[Unit]
- Annotations
- @inline()
- def doesNotReject(block: Promise[Any], message: java.lang.String): Promise[Unit]
- Annotations
- @inline()
- def doesNotReject(block: Promise[Any], error: AssertPredicate, message: Error): Promise[Unit]
- Annotations
- @inline()
- def doesNotReject(block: Promise[Any], error: AssertPredicate, message: java.lang.String): Promise[Unit]
- Annotations
- @inline()
- def doesNotReject(block: Promise[Any], error: AssertPredicate): Promise[Unit]
- Annotations
- @inline()
- def doesNotReject(block: Promise[Any]): Promise[Unit]
- Annotations
- @inline()
- def doesNotReject(block: Function0[Promise[Any]], message: Error): Promise[Unit]
- Annotations
- @inline()
- def doesNotReject(block: Function0[Promise[Any]], message: java.lang.String): Promise[Unit]
- Annotations
- @inline()
- def doesNotReject(block: Function0[Promise[Any]], error: AssertPredicate, message: Error): Promise[Unit]
- Annotations
- @inline()
- def doesNotReject(block: Function0[Promise[Any]], error: AssertPredicate, message: java.lang.String): Promise[Unit]
- Annotations
- @inline()
- def doesNotReject(block: Function0[Promise[Any]], error: AssertPredicate): Promise[Unit]
- Annotations
- @inline()
- def doesNotReject(block: Function0[Promise[Any]]): Promise[Unit]
- Annotations
- @inline()
- def doesNotThrow(block: Function0[Any], message: Error): Unit
- Annotations
- @inline()
- def doesNotThrow(block: Function0[Any], message: java.lang.String): Unit
- Annotations
- @inline()
- def doesNotThrow(block: Function0[Any], error: AssertPredicate, message: Error): Unit
- Annotations
- @inline()
- def doesNotThrow(block: Function0[Any], error: AssertPredicate, message: java.lang.String): Unit
- Annotations
- @inline()
- def doesNotThrow(block: Function0[Any], error: AssertPredicate): Unit
- Annotations
- @inline()
- def doesNotThrow(block: Function0[Any]): Unit
- Annotations
- @inline()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equal(actual: Any, expected: Any, message: Error): Unit
- Annotations
- @inline()
- def equal(actual: Any, expected: Any, message: java.lang.String): Unit
- Annotations
- @inline()
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def fail(message: Error): Nothing
- Annotations
- @inline()
- def fail(message: java.lang.String): Nothing
- Annotations
- @inline()
- def fail(actual: Any, expected: Any, message: Unit, operator: Unit, stackStartFn: Function): Nothing
- Annotations
- @inline()
- def fail(actual: Any, expected: Any, message: Unit, operator: java.lang.String, stackStartFn: Function): Nothing
- Annotations
- @inline()
- def fail(actual: Any, expected: Any, message: Unit, operator: java.lang.String): Nothing
- Annotations
- @inline()
- def fail(actual: Any, expected: Any, message: Error, operator: Unit, stackStartFn: Function): Nothing
- Annotations
- @inline()
- def fail(actual: Any, expected: Any, message: Error, operator: java.lang.String, stackStartFn: Function): Nothing
- Annotations
- @inline()
- def fail(actual: Any, expected: Any, message: Error, operator: java.lang.String): Nothing
- Annotations
- @inline()
- def fail(actual: Any, expected: Any, message: Error): Nothing
- Annotations
- @inline()
- def fail(actual: Any, expected: Any, message: java.lang.String, operator: Unit, stackStartFn: Function): Nothing
- Annotations
- @inline()
- def fail(actual: Any, expected: Any, message: java.lang.String, operator: java.lang.String, stackStartFn: Function): Nothing
- Annotations
- @inline()
- def fail(actual: Any, expected: Any, message: java.lang.String, operator: java.lang.String): Nothing
- Annotations
- @inline()
- def fail(actual: Any, expected: Any, message: java.lang.String): Nothing
- Annotations
- @inline()
- def fail(): Nothing
- Annotations
- @inline()
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def ifError(value: Any): UndefOr[Boolean]
- Annotations
- @inline()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def match(value: java.lang.String, regExp: RegExp, message: Error): Unit
- Annotations
- @inline()
- def match(value: java.lang.String, regExp: RegExp, message: java.lang.String): Unit
- Annotations
- @inline()
- def match(value: java.lang.String, regExp: RegExp): Unit
- Annotations
- @inline()
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def notDeepEqual(actual: Any, expected: Any, message: Error): Unit
- Annotations
- @inline()
- def notDeepEqual(actual: Any, expected: Any, message: java.lang.String): Unit
- Annotations
- @inline()
- def notDeepStrictEqual(actual: Any, expected: Any, message: Error): Unit
- Annotations
- @inline()
- def notDeepStrictEqual(actual: Any, expected: Any, message: java.lang.String): Unit
- Annotations
- @inline()
- def notDeepStrictEqual(actual: Any, expected: Any): Unit
- Annotations
- @inline()
- def notEqual(actual: Any, expected: Any, message: Error): Unit
- Annotations
- @inline()
- def notEqual(actual: Any, expected: Any, message: java.lang.String): Unit
- Annotations
- @inline()
- def notStrictEqual(actual: Any, expected: Any, message: Error): Unit
- Annotations
- @inline()
- def notStrictEqual(actual: Any, expected: Any, message: java.lang.String): Unit
- Annotations
- @inline()
- def notStrictEqual(actual: Any, expected: Any): Unit
- Annotations
- @inline()
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def ok(value: Any, message: Error): Boolean
- Annotations
- @inline()
- def ok(value: Any, message: java.lang.String): Boolean
- Annotations
- @inline()
- def ok(value: Any): Boolean
- Annotations
- @inline()
- def rejects(block: Promise[Any], message: Error): Promise[Unit]
- Annotations
- @inline()
- def rejects(block: Promise[Any], message: java.lang.String): Promise[Unit]
- Annotations
- @inline()
- def rejects(block: Promise[Any], error: AssertPredicate, message: Error): Promise[Unit]
- Annotations
- @inline()
- def rejects(block: Promise[Any], error: AssertPredicate, message: java.lang.String): Promise[Unit]
- Annotations
- @inline()
- def rejects(block: Promise[Any], error: AssertPredicate): Promise[Unit]
- Annotations
- @inline()
- def rejects(block: Promise[Any]): Promise[Unit]
- Annotations
- @inline()
- def rejects(block: Function0[Promise[Any]], message: Error): Promise[Unit]
- Annotations
- @inline()
- def rejects(block: Function0[Promise[Any]], message: java.lang.String): Promise[Unit]
- Annotations
- @inline()
- def rejects(block: Function0[Promise[Any]], error: AssertPredicate, message: Error): Promise[Unit]
- Annotations
- @inline()
- def rejects(block: Function0[Promise[Any]], error: AssertPredicate, message: java.lang.String): Promise[Unit]
- Annotations
- @inline()
- def rejects(block: Function0[Promise[Any]], error: AssertPredicate): Promise[Unit]
- Annotations
- @inline()
- def rejects(block: Function0[Promise[Any]]): Promise[Unit]
- Annotations
- @inline()
- val strict: Omit[Any, |[|[|[|[|[|[|[|[equal, notEqual], deepEqual], notDeepEqual], ok], strictEqual], deepStrictEqual], ifError], strict]] with DeepEqual
- Annotations
- @JSImport("node:assert", "strict") @native()
- def strictEqual[T](actual: Any, expected: T, message: Error): Boolean
- Annotations
- @inline()
- def strictEqual[T](actual: Any, expected: T, message: java.lang.String): Boolean
- Annotations
- @inline()
- def strictEqual[T](actual: Any, expected: T): Boolean
- Annotations
- @inline()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def throws(block: Function0[Any], message: Error): Unit
- Annotations
- @inline()
- def throws(block: Function0[Any], message: java.lang.String): Unit
- Annotations
- @inline()
- def throws(block: Function0[Any], error: AssertPredicate, message: Error): Unit
- Annotations
- @inline()
- def throws(block: Function0[Any], error: AssertPredicate, message: java.lang.String): Unit
- Annotations
- @inline()
- def throws(block: Function0[Any], error: AssertPredicate): Unit
- Annotations
- @inline()
- def throws(block: Function0[Any]): Unit
- Annotations
- @inline()
- def toString(): java.lang.String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def deepEqual(actual: Any, expected: Any): Unit
- Annotations
- @inline()
- Deprecated
since v9.9.0 - use deepStrictEqual() instead.
- def equal(actual: Any, expected: Any): Unit
- Annotations
- @inline()
- Deprecated
since v9.9.0 - use strictEqual() instead.
- def fail(actual: Any, expected: Any): Nothing
- Annotations
- @inline()
- Deprecated
since v10.0.0 - use fail([message]) or other assert functions instead.
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
- def notDeepEqual(actual: Any, expected: Any): Unit
- Annotations
- @inline()
- Deprecated
since v9.9.0 - use notDeepStrictEqual() instead.
- def notEqual(actual: Any, expected: Any): Unit
- Annotations
- @inline()
- Deprecated
since v9.9.0 - use notStrictEqual() instead.