Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/frantallukas10/primehammer-task
PrimeHammer-task
https://github.com/frantallukas10/primehammer-task
Last synced: 5 days ago
JSON representation
PrimeHammer-task
- Host: GitHub
- URL: https://github.com/frantallukas10/primehammer-task
- Owner: frantallukas10
- License: mit
- Created: 2018-12-04T20:06:37.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T19:00:23.000Z (about 2 years ago)
- Last Synced: 2024-11-18T21:59:45.476Z (2 months ago)
- Language: JavaScript
- Size: 1.06 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PrimeHammer-task
[About task](./JavaScript-HW-Interview.pdf)
## Solution:
### main:
[index.js](./index.js)
[evaluateLogFile.js](./evaluateLogFile.js)
[package.json](./package.json)
### Helpers:
[getReference(check, thermometer, humidity)](./helpers/getReference.js)
[getResult(column, reference, values),isFirstLine(sensorType)](./helpers/getResult.js)
[getResultHumidity(reference, values)](./helpers/getResultHumidity.js)
[getResultThermometer(reference, values)](./helpers/getResultThermometer.js)
### Testing somthing module:
[testing module index.js](./tests/index.test.js)
[testing module getReference.js](./tests/getReference.test.js)
## Available Scripts
Before run this project, you have to install packages with this command:
### `npm i`
or
### `yarn install`
The project, you can run it with this command:
### `npm run start`
The testing this project, you can run it with this command:
### `npm run test`
See the section about [jest testing](https://jestjs.io/docs/en/getting-started) for more information.
if you want upadte snappshots, you can run this command:
### `npm run test-u`