Skip to content

Files

Latest commit

Kayla WoodKayla Wood
Kayla Wood
and
Kayla Wood
Jan 11, 2021
9283072 · Jan 11, 2021

History

History
This branch is 13 commits ahead of, 85 commits behind turingschool-examples/javascript-foundations:main.

wizarding-arrays

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Oct 4, 2018
Jan 11, 2021
Jan 11, 2021

Wizarding Arrays

Installation Steps

In order to be able to run these tests you need to install the dependencies at the root level of this repository. Find the directions [here](root-level of this repository).

Running the Tests

You can run the tests from the root of this repository. When you type pwd in the console, the last path location should be javascript-foundations.

To run a single test file, enter npm test wizarding-arrays/test/spell-test.js in your terminal. To run other test files, simply update the command with the name of the test you would like to run.

Practicing new javascript features

Notice, some of the syntax with the tests and files are using newer javascript features introduced in es6, like arrow functions, block-scoped variables, and classes. See if you can start flexing your es6 muscles and write your solutions and tests using the new syntax!

Make the tests pass in the following sequence:

  • test/spell-test.js
  • test/robe-test.js
  • test/potion-test.js