-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Simon Schrottner <[email protected]>
- Loading branch information
Showing
15 changed files
with
46 additions
and
44 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,5 @@ | ||
export const FLAGD_NAME = 'flagd-web'; | ||
export const E2E_CLIENT_NAME = 'e2e'; | ||
|
||
export const IMAGE_VERSION = 'v0.5.13'; | ||
import { getGherkinTestPath } from '@openfeature/flagd-core'; | ||
|
||
export function getGherkinTestPath(file: string, modulePath = 'test-harness/gherkin/'): string { | ||
// TODO: find a way to resolve this in a generic manner - currently this works, because of the file structure | ||
return `<rootdir>/../../../../../shared/flagd-core/${modulePath}${file}`; | ||
} | ||
export const FLAGD_NAME = 'flagd-web'; | ||
|
||
export const GHERKIN_EVALUATION_FEATURE = getGherkinTestPath( | ||
'flagd.feature' | ||
); | ||
export const GHERKIN_EVALUATION_FEATURE = getGherkinTestPath('flagd.feature'); |
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 |
---|---|---|
@@ -1,10 +1,12 @@ | ||
{ | ||
"extends": "../../tsconfig.json", | ||
"compilerOptions": { | ||
"lib": ["ES2015", "DOM"], | ||
"lib": ["ES2022", "DOM"], | ||
"outDir": "../../../dist/out-tsc", | ||
"declaration": true, | ||
"types": ["jest"], | ||
"allowSyntheticDefaultImports": true, | ||
"allowJs" :true, | ||
"resolveJsonModule": true | ||
} | ||
} |
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,8 @@ | ||
export const E2E_CLIENT_NAME = 'e2e'; | ||
|
||
export const IMAGE_VERSION = 'v0.5.13'; | ||
|
||
export function getGherkinTestPath(file: string, modulePath = 'test-harness/gherkin/'): string { | ||
// TODO: find a way to resolve this in a generic manner - currently this works, because of the file structure | ||
return `<rootdir>/../../../../../shared/flagd-core/${modulePath}${file}`; | ||
} |
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,4 @@ | ||
export * from './lib/flagd-core'; | ||
export * from './lib/feature-flag'; | ||
export * from './lib/storage'; | ||
export * from './e2e'; |
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