Skip to content

AZMAG/map-mag-core-js

Repository files navigation

magcore.js

MAG repo for JavaScript codebase to help in project development

GitHub version GitHub issues dependencies devDependency Status Built with Grunt MIT licensed

Getting Started

The following dependencies are required to build this application (if you already have Git, NodeJS, and Grunt you can clone the repo and skip to installing dependencies):

  1. Installation

    • Git - download and install for you environment here.
    • NodeJS - download and install for your environment here.
    • Sass - npm install -g sass
  2. Application Dependencies

    npm install
    

Build

Test

Tests include both functional and unit tests.

Setup

Install the JRE or JDK. Selenium requires Java to run WebDriver tests.

Chrome will need to be at version 78 or higher.

Running the tests locally

Once installed, intern tests may be tested with a grunt script issued from the root of the repository. To run the unit and functional test suites in headless chrome, run the following command:

grunt test

Writing tests

For information on how to write Intern tests, see https://theintern.io/docs.html#Intern/4/docs/docs%2Fwriting_tests.md.

About

MAG repo for JavaScript codebase to help in project development

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •