it:ad:jasmine:howto:initialize_your_project_directory

it:adjasmine howto initialize your project directory

IT:AD:Jasmine:HowTo:Initialize your Project Directory

Use IT:AD:NPM to install it:

npm install -g jasmine

Now that it's installed, you can initialize your project's folder:

CD to your projects directory and init it:

cd c:\Spikes\Jasmine
jasmine init

It will create a directory, putting a jasmine.json file in it:

/specs/
/specs/support/
/specs/support/jasmine.json

which defines which folder contain the specs and the file name format:

{
  "spec_dir": "spec",
  "spec_files": [
    "**/*[sS]pec.js"
  ],
  "helpers": [
    "helpers/**/*.js"
  ]
}

  • /home/skysigal/public_html/data/pages/it/ad/jasmine/howto/initialize_your_project_directory.txt
  • Last modified: 2023/11/04 01:46
  • by 127.0.0.1