Skip to content

Tutorial 4

PhuocLe edited this page Aug 26, 2018 · 12 revisions

Task

  • Create Javascript Unit Test for project Paz.LuckeyMonkey.WebResource

Prerequisites

Coding

  1. Add New Item 09. JavaScript Test to test folder of Paz.LuckeyMonkey.WebResource project
    • A popup form Add new Js Test Class opened
    • Click button >< to create/select a Dynamics 365 connection
    • After connected PL.DynamicsCrm.DevKit loaded all entities and bind to dropdown Entity
    • Select Lead in the Entity
    • Click OK
  2. PL.DynamicsCrm.DevKit created Lead.test.js file under folder test
  3. Rebuild solution to restore NuGet packages
  4. Make sure you have node_modules in the project Paz.LuckeyMonkey.WebResource, if NOT you should run npm install in the Command Windows Promt of the project folder Paz.LuckeyMonkey.WebResource
Clone this wiki locally