-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #84 from InseeFr/feat/sonar
feat: add sonar
- Loading branch information
Showing
8 changed files
with
322 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,17 @@ | ||
# Impala | ||
|
||
Impala is a module of Insee's Statistical Metadata Repository (RMéS). It exposes linked metadata on web pages and through a SPARQL editor based on [Yasgui](https://triply.cc/docs/yasgui-api). | ||
|
||
## Getting Started | ||
|
||
* Run Unit Tests (Vitest) | ||
|
||
```shell | ||
yarn test | ||
``` | ||
|
||
* Run UI Tests (Playwright) | ||
|
||
```shell | ||
npx playwright test | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
sonar.projectKey=InseeFr_Impala | ||
sonar.organization=inseefr | ||
sonar.host.url=https://sonarcloud.io | ||
|
||
# Project name & version | ||
sonar.projectName=Impala | ||
sonar.projectVersion=1.2.0 | ||
|
||
# Path to sources | ||
sonar.sources=src | ||
|
||
# Path to tests | ||
sonar.test.inclusions=src/**/*.spec.jsx | ||
|
||
# Coverage | ||
sonar.javascript.lcov.reportPaths=coverage/lcov.info | ||
sonar.coverage.exclusions=src/**/*.spec.jsx | ||
|
||
# Source encoding | ||
sonar.sourceEncoding=UTF-8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import { test, expect } from "@playwright/test"; | ||
|
||
test("has title", async ({ page }) => { | ||
await page.goto("http://localhost:3000/"); | ||
await page.goto("/"); | ||
|
||
await expect(page).toHaveTitle("Espace RDF de l'Insee"); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.