Chapter 5
- Correct Answer: b
a. The command npm start will just initiate the testing but will not watch the files for changes.
b. The command npm start watch indicates to the local web server to watch for any file changes. If any file is changed, then it will rebuild the project and reload the browser with new changes.
- Correct Answer: a
a. The template with the option dataset is used to initialize the PCF project for views and sub-grids. The word dataset is used because we are creating a code component for multiple rows of data.
b. There are only two options available when creating a PCF project; one is field, and another is dataset. The option field is used to initialize a PCF project for a single field or an attribute, whereas the option dataset is used to initialize a PCF project for a view or a sub-grid.
- Correct Answer: a
a. The default file that the test harness accepts is the .cvs file.
b. No matter how you format your .xlsx file, it will not be parsed by the test harness...