Coder Social home page Coder Social logo

js-20240226_waira's Introduction

To start project:

Для старта проекта необходимо выполнить следующие команды:

  • npm install - установит необходимые зависимости

Note: У вас уже должна быть установлена Nodejs Проверить текущие версии можно набрав в консоли/терминале следующие команды: node -v и npm -v.

Версии требуемые проектом указаны в package.json в поле engines

To run tests:

To run all tests

Чтобы запустить тесты, воспользуйтесь командой:

npm run test

To run tests from a specific directory

Чтобы запустить тесты из определенной директории, воспользуйтесь командой:

npm run test:specific --findRelatedTests 01-javascript-data-types/1-sort-strings/**/*.spec.js

"01-javascript-data-types" - это имя директории модуля
"1-sort-strings" - имя директории задачи

To run a single test

Чтобы запустить только один тест, можно воспользоваться командой:

jest -t '<describeString> <itString>'

к примеру команда:

jest -t 'javascript-data-types/sort-strings'

выполнит весь блок describe, а команда

jest -t 'javascript-data-types/sort-strings should correctly sort strings started from uppercase'

выполнит только блок it с соответствующим названием.
Более подробно про запуск тестов можно посмотреть в документации Jest

js-20240226_waira's People

Contributors

jsru-1 avatar goodprofy avatar jsru avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.