# GeneXus IDE UI

**GeneXus IDE UI** is the component library designed for the GeneXus Web IDE.

## Local Development

```bash
npm i
npm start
```

### Running the tests

To run the unit tests for the custom elements, run:

```bash
npm test
```

To run the spec tests for a specific custom element, run:

```bash
npm run test.spec src/components/<path to test file.spec.ts>

## For example:

npm run test.spec src/components/layout-splitter/tests/fixAndUpdateLayoutModel.spec.ts
```

To watch changes for tests (spec and e2e), run:

```bash
npm run test.watch
```

To watch only one file, run:

```bash
npm run test.watch -- -- src/components/<component>/<path to test file.<spec|e2e>.ts>

## For example:

npm run test.watch -- -- src/components/new-kb/tests/new-kb.e2e.ts
```

### Building the project

```bash
npm run build
```

---

## License

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
