Coverage

mill.javascriptlib.TestModule.Coverage

Attributes

Graph
Supertypes
trait TestModule
trait TaskModule
trait Module
trait ModuleApi
trait Wrapper
class BaseClass
trait Cacher
trait Cacher
class Object
trait Matchable
class Any
Show all
Known subtypes
trait Jasmine
trait Jest
trait Mocha
trait Vitest

Members list

Type members

Inherited classlikes

Attributes

Inherited from:
TypeScriptModule
Supertypes
trait Module
trait ModuleApi
trait Wrapper
class BaseClass
trait Cacher
trait Cacher
class Object
trait Matchable
class Any
Show all
@Scaladoc(value = "/**\n * Miscellaneous machinery around traversing & querying the build hierarchy,\n * that should not be needed by normal users of Mill\n */")
object moduleInternal extends Internal

Miscellaneous machinery around traversing & querying the build hierarchy, that should not be needed by normal users of Mill

Miscellaneous machinery around traversing & querying the build hierarchy, that should not be needed by normal users of Mill

Attributes

Inherited from:
Module
Supertypes
class Internal
class Object
trait Matchable
class Any

Value members

Concrete methods

def coverage(args: String*): Command[TestResult]
def coverageFiles: Target[PathRef]
protected def coverageTask(args: Task[Seq[String]]): Task[TestResult]
def htmlReport: Target[PathRef]
def istanbulNycrcConfigBuilder: Task[PathRef]
override def npmDevDeps: Target[Seq[String]]

Attributes

Definition Classes

Inherited methods

def bundle: Target[PathRef]

Attributes

Inherited from:
TypeScriptModule
def bundleExternal: Target[Seq[Value]]

Attributes

Inherited from:
TypeScriptModule
def bundleFlags: Target[Map[String, Value]]

Attributes

Inherited from:
TypeScriptModule
@Scaladoc(value = "/**\n * configure esbuild with `@esbuild-plugins/tsconfig-paths`\n * include .d.ts files\n */")
def bundleScriptBuilder: Task[String]

configure esbuild with @esbuild-plugins/tsconfig-paths include .d.ts files

configure esbuild with @esbuild-plugins/tsconfig-paths include .d.ts files

Attributes

Inherited from:
TypeScriptModule
def compile: Target[PathRef]

Attributes

Inherited from:
TypeScriptModule
def compilerOptions: Target[Map[String, Value]]

Attributes

Inherited from:
TypeScriptModule
def compilerOptionsBuilder: Task[Map[String, Value]]

Attributes

Inherited from:
TypeScriptModule
def compilerOptionsPaths: Target[Map[String, String]]

Attributes

Inherited from:
TypeScriptModule
def computedArgs: Target[Seq[String]]

Attributes

Inherited from:
TypeScriptModule
@Scaladoc(value = "/**\n * Mill by default will use local tsconfig if one is provided,\n * This can set to `false` if you would prefer mill to use the generated\n * tsconfig, if you can not for some reason just not delete the local one.\n *\n * Regardless of the configuration, mill will auto gen a tsconfig\n * if one does not exist in `T.workspace`.\n */")
def customTsConfig: Target[Boolean]

Mill by default will use local tsconfig if one is provided, This can set to false if you would prefer mill to use the generated tsconfig, if you can not for some reason just not delete the local one.

Mill by default will use local tsconfig if one is provided, This can set to false if you would prefer mill to use the generated tsconfig, if you can not for some reason just not delete the local one.

Regardless of the configuration, mill will auto gen a tsconfig if one does not exist in T.workspace.

Attributes

Inherited from:
TypeScriptModule
def declarationDir: Target[String]

Attributes

Inherited from:
TypeScriptModule
override def defaultCommandName(): String

The name of the default command, which will be automatically executed if the module name is provided at the Mill command line.

The name of the default command, which will be automatically executed if the module name is provided at the Mill command line.

Attributes

Definition Classes
TestModule -> TaskModule
Inherited from:
TestModule
def enableEsm: Target[Boolean]

Attributes

Inherited from:
TypeScriptModule
def executionFlags: Target[Map[String, String]]

Attributes

Inherited from:
TypeScriptModule
def forkEnv: Target[Map[String, String]]

Attributes

Inherited from:
TypeScriptModule
def generatedSources: Target[Seq[PathRef]]

Attributes

Inherited from:
TypeScriptModule
def generatedSourcesPathsBuilder: Target[Seq[(String, String)]]

Attributes

Inherited from:
TypeScriptModule
def mainFileName: Target[String]

Attributes

Inherited from:
TypeScriptModule
def mainFilePath: Target[Path]

Attributes

Inherited from:
TypeScriptModule
def moduleCtx: ModuleCtx

Attributes

Inherited from:
BaseClass

Attributes

Inherited from:
TypeScriptModule
def moduleDir: Path

Attributes

Inherited from:
Module
def moduleDirJava: Path

Attributes

Inherited from:
Module
def moduleDirectChildren: Seq[Module]

Attributes

Inherited from:
Module
def moduleName: String

Attributes

Inherited from:
TypeScriptModule
def modulePaths: Target[Seq[(String, String)]]

Attributes

Inherited from:
TypeScriptModule
def moduleSegments: Segments

Attributes

Inherited from:
Module
def npmDeps: Target[Seq[String]]

Attributes

Inherited from:
TypeScriptModule
def npmInstall: Target[PathRef]

Attributes

Inherited from:
TypeScriptModule
def npmRc: Target[PathRef]

Attributes

Inherited from:
TypeScriptModule
def options: Target[Map[String, Value]]

Attributes

Inherited from:
TypeScriptModule
def packageJson: Target[PackageJson]

Attributes

Inherited from:
TypeScriptModule

Attributes

Inherited from:
TypeScriptModule
def resources: Target[Seq[PathRef]]

Attributes

Inherited from:
TypeScriptModule
def run(args: Args): Command[CommandResult]

Attributes

Inherited from:
TypeScriptModule
@Scaladoc(value = "/**\n * Run `ts-node` command if set to `true`.\n * `ts-node` will build declarations and or js output, depending on ts-config.\n */")
def runTypeCheck: Target[Boolean]

Run ts-node command if set to true. ts-node will build declarations and or js output, depending on ts-config.

Run ts-node command if set to true. ts-node will build declarations and or js output, depending on ts-config.

Attributes

Inherited from:
TypeScriptModule
def sources: Target[Seq[PathRef]]

Attributes

Inherited from:
TypeScriptModule
def testCached: Target[Unit]

Attributes

Inherited from:
TestModule
def testCachedArgs: Target[Seq[String]]

Attributes

Inherited from:
TestModule
def testForked(args: String*): Command[TestResult]

Attributes

Inherited from:
TestModule
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
TypeScriptModule -> Module -> Any
Inherited from:
TypeScriptModule
def transitiveNpmDeps: Target[Seq[String]]

Attributes

Inherited from:
TypeScriptModule
def transitiveNpmDevDeps: Target[Seq[String]]

Attributes

Inherited from:
TypeScriptModule
def transitiveUnmanagedDeps: Target[Seq[PathRef]]

Attributes

Inherited from:
TypeScriptModule
@Scaladoc(value = "/**\n * Typescript versioning:\n * - typescript\n * - ts-node\n * - tsconfig-paths\n * - @types/node\n */")
def tsDeps: Target[Seq[String]]

Typescript versioning:

Typescript versioning:

  • typescript
  • ts-node
  • tsconfig-paths
  • @types/node

Attributes

Inherited from:
TypeScriptModule
def tscAllSources: Target[IndexedSeq[String]]

Attributes

Inherited from:
TypeScriptModule
def tscCopySources: Task[Unit]

Attributes

Inherited from:
TypeScriptModule
def typeRoots: Task[Value]

Attributes

Inherited from:
TypeScriptModule
def unmanagedDeps: Target[Seq[PathRef]]

Attributes

Inherited from:
TypeScriptModule
def upstreamPathsBuilder: Target[Seq[(String, String)]]

Attributes

Inherited from:
TypeScriptModule

Implicits

Inherited implicits

implicit def moduleNestedCtx: Nested

Attributes

Inherited from:
Module