├── .eslintignore ├── .eslintrc.js ├── .github └── workflows │ ├── CD.yml │ ├── CI.yml │ ├── CreateRelease.yml │ └── CreateTag.yml ├── .gitignore ├── .vscode ├── extensions.json └── settings.json ├── LICENSE.txt ├── README.md ├── documentation ├── logo-dark.png ├── logo-light.png └── logo.psd ├── makefile ├── package.json ├── setup.js ├── src ├── evaluate.ts ├── getContextInfo.ts ├── getGiven.d.ts ├── getGiven.ts ├── getGivenFunc.ts ├── givenError.ts ├── global.d.ts ├── isValid.ts └── types.ts ├── test ├── integration-tests │ ├── javascript │ │ ├── jasmine │ │ │ ├── .eslintrc.js │ │ │ ├── .nycrc.json │ │ │ ├── package-lock.json │ │ │ ├── package.json │ │ │ └── spec │ │ │ │ ├── errors.spec.js │ │ │ │ ├── getContextInfo.spec.js │ │ │ │ ├── given.spec.js │ │ │ │ └── support │ │ │ │ └── jasmine.json │ │ ├── jest │ │ │ ├── .eslintrc.js │ │ │ ├── package-lock.json │ │ │ ├── package.json │ │ │ └── test │ │ │ │ ├── __snapshots__ │ │ │ │ └── errors.test.js.snap │ │ │ │ ├── errors.test.js │ │ │ │ └── given.test.js │ │ └── mocha │ │ │ ├── .eslintrc.js │ │ │ ├── .nycrc.json │ │ │ ├── package-lock.json │ │ │ ├── package.json │ │ │ └── test │ │ │ ├── errors.test.js │ │ │ ├── getContextInfo.spec.js │ │ │ └── given.test.js │ └── typescript │ │ └── jest │ │ ├── .eslintrc.js │ │ ├── package-lock.json │ │ ├── package.json │ │ ├── test │ │ ├── __snapshots__ │ │ │ └── errors.test.ts.snap │ │ ├── errors.test.ts │ │ ├── given-default.test.ts │ │ └── given-typed.test.ts │ │ └── tsconfig.json ├── manual-tests │ ├── .nycrc.json │ ├── package-lock.json │ ├── package.json │ ├── run-tests.js │ └── test │ │ ├── getContextInfo.test.js │ │ ├── getGiven.test.js │ │ └── givenError.test.js └── unit-tests │ ├── .eslintrc.js │ ├── __snapshots__ │ └── evaluate.spec.ts.snap │ ├── evaluate.spec.ts │ ├── getContextInfo.spec.ts │ ├── getGiven.spec.ts │ ├── getGivenFunc.spec.ts │ ├── givenError.spec.ts │ └── isValid.spec.ts └── tsconfig.json /.eslintignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enova/givens/HEAD/.eslintignore -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enova/givens/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.github/workflows/CD.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enova/givens/HEAD/.github/workflows/CD.yml -------------------------------------------------------------------------------- /.github/workflows/CI.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enova/givens/HEAD/.github/workflows/CI.yml -------------------------------------------------------------------------------- /.github/workflows/CreateRelease.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enova/givens/HEAD/.github/workflows/CreateRelease.yml -------------------------------------------------------------------------------- /.github/workflows/CreateTag.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enova/givens/HEAD/.github/workflows/CreateTag.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | coverage 4 | build 5 | -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enova/givens/HEAD/.vscode/extensions.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enova/givens/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enova/givens/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enova/givens/HEAD/README.md -------------------------------------------------------------------------------- /documentation/logo-dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enova/givens/HEAD/documentation/logo-dark.png -------------------------------------------------------------------------------- /documentation/logo-light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enova/givens/HEAD/documentation/logo-light.png -------------------------------------------------------------------------------- /documentation/logo.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enova/givens/HEAD/documentation/logo.psd -------------------------------------------------------------------------------- /makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enova/givens/HEAD/makefile -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enova/givens/HEAD/package.json -------------------------------------------------------------------------------- /setup.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enova/givens/HEAD/setup.js -------------------------------------------------------------------------------- /src/evaluate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enova/givens/HEAD/src/evaluate.ts -------------------------------------------------------------------------------- /src/getContextInfo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enova/givens/HEAD/src/getContextInfo.ts -------------------------------------------------------------------------------- /src/getGiven.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enova/givens/HEAD/src/getGiven.d.ts -------------------------------------------------------------------------------- /src/getGiven.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enova/givens/HEAD/src/getGiven.ts -------------------------------------------------------------------------------- /src/getGivenFunc.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enova/givens/HEAD/src/getGivenFunc.ts -------------------------------------------------------------------------------- /src/givenError.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enova/givens/HEAD/src/givenError.ts -------------------------------------------------------------------------------- /src/global.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enova/givens/HEAD/src/global.d.ts -------------------------------------------------------------------------------- /src/isValid.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enova/givens/HEAD/src/isValid.ts -------------------------------------------------------------------------------- /src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enova/givens/HEAD/src/types.ts -------------------------------------------------------------------------------- /test/integration-tests/javascript/jasmine/.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enova/givens/HEAD/test/integration-tests/javascript/jasmine/.eslintrc.js -------------------------------------------------------------------------------- /test/integration-tests/javascript/jasmine/.nycrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enova/givens/HEAD/test/integration-tests/javascript/jasmine/.nycrc.json -------------------------------------------------------------------------------- /test/integration-tests/javascript/jasmine/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enova/givens/HEAD/test/integration-tests/javascript/jasmine/package-lock.json -------------------------------------------------------------------------------- /test/integration-tests/javascript/jasmine/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enova/givens/HEAD/test/integration-tests/javascript/jasmine/package.json -------------------------------------------------------------------------------- /test/integration-tests/javascript/jasmine/spec/errors.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enova/givens/HEAD/test/integration-tests/javascript/jasmine/spec/errors.spec.js -------------------------------------------------------------------------------- /test/integration-tests/javascript/jasmine/spec/getContextInfo.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enova/givens/HEAD/test/integration-tests/javascript/jasmine/spec/getContextInfo.spec.js -------------------------------------------------------------------------------- /test/integration-tests/javascript/jasmine/spec/given.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enova/givens/HEAD/test/integration-tests/javascript/jasmine/spec/given.spec.js -------------------------------------------------------------------------------- /test/integration-tests/javascript/jasmine/spec/support/jasmine.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enova/givens/HEAD/test/integration-tests/javascript/jasmine/spec/support/jasmine.json -------------------------------------------------------------------------------- /test/integration-tests/javascript/jest/.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enova/givens/HEAD/test/integration-tests/javascript/jest/.eslintrc.js -------------------------------------------------------------------------------- /test/integration-tests/javascript/jest/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enova/givens/HEAD/test/integration-tests/javascript/jest/package-lock.json -------------------------------------------------------------------------------- /test/integration-tests/javascript/jest/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enova/givens/HEAD/test/integration-tests/javascript/jest/package.json -------------------------------------------------------------------------------- /test/integration-tests/javascript/jest/test/__snapshots__/errors.test.js.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enova/givens/HEAD/test/integration-tests/javascript/jest/test/__snapshots__/errors.test.js.snap -------------------------------------------------------------------------------- /test/integration-tests/javascript/jest/test/errors.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enova/givens/HEAD/test/integration-tests/javascript/jest/test/errors.test.js -------------------------------------------------------------------------------- /test/integration-tests/javascript/jest/test/given.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enova/givens/HEAD/test/integration-tests/javascript/jest/test/given.test.js -------------------------------------------------------------------------------- /test/integration-tests/javascript/mocha/.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enova/givens/HEAD/test/integration-tests/javascript/mocha/.eslintrc.js -------------------------------------------------------------------------------- /test/integration-tests/javascript/mocha/.nycrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enova/givens/HEAD/test/integration-tests/javascript/mocha/.nycrc.json -------------------------------------------------------------------------------- /test/integration-tests/javascript/mocha/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enova/givens/HEAD/test/integration-tests/javascript/mocha/package-lock.json -------------------------------------------------------------------------------- /test/integration-tests/javascript/mocha/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enova/givens/HEAD/test/integration-tests/javascript/mocha/package.json -------------------------------------------------------------------------------- /test/integration-tests/javascript/mocha/test/errors.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enova/givens/HEAD/test/integration-tests/javascript/mocha/test/errors.test.js -------------------------------------------------------------------------------- /test/integration-tests/javascript/mocha/test/getContextInfo.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enova/givens/HEAD/test/integration-tests/javascript/mocha/test/getContextInfo.spec.js -------------------------------------------------------------------------------- /test/integration-tests/javascript/mocha/test/given.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enova/givens/HEAD/test/integration-tests/javascript/mocha/test/given.test.js -------------------------------------------------------------------------------- /test/integration-tests/typescript/jest/.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enova/givens/HEAD/test/integration-tests/typescript/jest/.eslintrc.js -------------------------------------------------------------------------------- /test/integration-tests/typescript/jest/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enova/givens/HEAD/test/integration-tests/typescript/jest/package-lock.json -------------------------------------------------------------------------------- /test/integration-tests/typescript/jest/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enova/givens/HEAD/test/integration-tests/typescript/jest/package.json -------------------------------------------------------------------------------- /test/integration-tests/typescript/jest/test/__snapshots__/errors.test.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enova/givens/HEAD/test/integration-tests/typescript/jest/test/__snapshots__/errors.test.ts.snap -------------------------------------------------------------------------------- /test/integration-tests/typescript/jest/test/errors.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enova/givens/HEAD/test/integration-tests/typescript/jest/test/errors.test.ts -------------------------------------------------------------------------------- /test/integration-tests/typescript/jest/test/given-default.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enova/givens/HEAD/test/integration-tests/typescript/jest/test/given-default.test.ts -------------------------------------------------------------------------------- /test/integration-tests/typescript/jest/test/given-typed.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enova/givens/HEAD/test/integration-tests/typescript/jest/test/given-typed.test.ts -------------------------------------------------------------------------------- /test/integration-tests/typescript/jest/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enova/givens/HEAD/test/integration-tests/typescript/jest/tsconfig.json -------------------------------------------------------------------------------- /test/manual-tests/.nycrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enova/givens/HEAD/test/manual-tests/.nycrc.json -------------------------------------------------------------------------------- /test/manual-tests/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enova/givens/HEAD/test/manual-tests/package-lock.json -------------------------------------------------------------------------------- /test/manual-tests/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enova/givens/HEAD/test/manual-tests/package.json -------------------------------------------------------------------------------- /test/manual-tests/run-tests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enova/givens/HEAD/test/manual-tests/run-tests.js -------------------------------------------------------------------------------- /test/manual-tests/test/getContextInfo.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enova/givens/HEAD/test/manual-tests/test/getContextInfo.test.js -------------------------------------------------------------------------------- /test/manual-tests/test/getGiven.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enova/givens/HEAD/test/manual-tests/test/getGiven.test.js -------------------------------------------------------------------------------- /test/manual-tests/test/givenError.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enova/givens/HEAD/test/manual-tests/test/givenError.test.js -------------------------------------------------------------------------------- /test/unit-tests/.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enova/givens/HEAD/test/unit-tests/.eslintrc.js -------------------------------------------------------------------------------- /test/unit-tests/__snapshots__/evaluate.spec.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enova/givens/HEAD/test/unit-tests/__snapshots__/evaluate.spec.ts.snap -------------------------------------------------------------------------------- /test/unit-tests/evaluate.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enova/givens/HEAD/test/unit-tests/evaluate.spec.ts -------------------------------------------------------------------------------- /test/unit-tests/getContextInfo.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enova/givens/HEAD/test/unit-tests/getContextInfo.spec.ts -------------------------------------------------------------------------------- /test/unit-tests/getGiven.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enova/givens/HEAD/test/unit-tests/getGiven.spec.ts -------------------------------------------------------------------------------- /test/unit-tests/getGivenFunc.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enova/givens/HEAD/test/unit-tests/getGivenFunc.spec.ts -------------------------------------------------------------------------------- /test/unit-tests/givenError.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enova/givens/HEAD/test/unit-tests/givenError.spec.ts -------------------------------------------------------------------------------- /test/unit-tests/isValid.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enova/givens/HEAD/test/unit-tests/isValid.spec.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enova/givens/HEAD/tsconfig.json --------------------------------------------------------------------------------