Function formatFileName

  • Formats a file name to ensure it ends with .js.

    Parameters

    • fileName: string

    Returns string