Food-Static-Data / Food-Static-Data/sd

change importing in all tests

Open
#278 26 comments 0 reactions 0 assignees View on GitHub
enhancement good first issue help wanted tests
Dominant language
JavaScript
Stars
9
Forks
11
PR merge metrics
No merged PRs in 30d

Description

Now in all tests we have this structure that get object.
```
const {allergiesFilePath} = require('../../../files.js')
const allergies = require(allergiesFilePath)
```
Replace it with importing from filesObjects.js that is in root of project like this
```
const staticData = require("./filesObjects")
// to get acces use staticData.allergies
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.