Options
All
  • Public
  • Public/Protected
  • All
Menu

Used for parsing the data/testing.zip file.

internal

Hierarchy

Index

Constructors

Methods

Constructors

constructor

Methods

getMessages

  • getMessages(): Promise<Message[]>

Private parseData

  • parseData(data: string): Message[]
  • Parses the testing data file.

    The format of this file is a CSV with the following columns: subject, message, label.

    Parameters

    • data: string

      The raw file from the ZIP archive.

    Returns Message[]

    An array of messages parsed from the file.

Generated using TypeDoc