├── .all-contributorsrc ├── .eslintignore ├── .eslintrc.js ├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md └── workflows │ └── release.yml ├── .gitignore ├── .husky ├── commit-msg └── pre-commit ├── .npmignore ├── .npmrc ├── .nvmrc ├── .prettierignore ├── .prettierrc ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── commitlint.config.js ├── for-readme └── test-angular.jpg ├── lerna.json ├── package.json ├── packages ├── auto-spies-core │ ├── .npmignore │ ├── CHANGELOG.md │ ├── jest.config.js │ ├── package.json │ ├── src │ │ ├── args-map.ts │ │ ├── auto-spies-core.types.ts │ │ ├── create-accessors-spies.ts │ │ ├── create-auto-spy-from-class.ts │ │ ├── create-function-auto-spy.ts │ │ ├── errors │ │ │ ├── error-handler.ts │ │ │ └── error-handling.spec.ts │ │ ├── index.ts │ │ ├── observables │ │ │ ├── create-observable-with-values.spec.ts │ │ │ ├── create-observable-with-values.ts │ │ │ ├── merge-subject-with-default-values.ts │ │ │ ├── observable-spy-utils.ts │ │ │ └── observable-spy.types.ts │ │ └── promises │ │ │ ├── promises-spy-utils.ts │ │ │ └── promises-spy.types.ts │ ├── tsconfig.build.json │ ├── tsconfig.json │ └── tsconfig.spec.json ├── jasmine-auto-spies │ ├── .all-contributorsrc │ ├── .npmignore │ ├── CHANGELOG.md │ ├── README.md │ ├── karma.conf.ts │ ├── package.json │ ├── src │ │ ├── angular-provider-helper.ts │ │ ├── create-function-spy.ts │ │ ├── create-spy-from-class.ts │ │ ├── index.ts │ │ ├── jasmine-auto-spies.types.ts │ │ └── tests │ │ │ ├── create-spy-from-class.spec.ts │ │ │ ├── fake-classes-to-test.ts │ │ │ ├── observable-spy-utils.spec.ts │ │ │ └── promises-spy-utils.spec.ts │ ├── test.ts │ ├── tsconfig.build.json │ ├── tsconfig.json │ ├── tsconfig.spec.json │ └── webpack.config.ts └── jest-auto-spies │ ├── .all-contributorsrc │ ├── .npmignore │ ├── CHANGELOG.md │ ├── README.md │ ├── jest.config.js │ ├── package.json │ ├── src │ ├── angular-provider-helper.ts │ ├── create-function-spy.ts │ ├── create-spy-from-class.ts │ ├── index.ts │ ├── jest-auto-spies.types.ts │ └── tests │ │ ├── create-spy-from-class.spec.ts │ │ ├── fake-classes-to-test.ts │ │ ├── observable-spy-utils.spec.ts │ │ └── promises-spy-utils.spec.ts │ ├── tsconfig.build.json │ ├── tsconfig.json │ └── tsconfig.spec.json ├── pnpm-lock.yaml ├── pnpm-workspace.yaml └── tsconfig.json /.all-contributorsrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hirezio/auto-spies/HEAD/.all-contributorsrc -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | coverage 4 | karma.conf.ts 5 | .eslintrc.* -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hirezio/auto-spies/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hirezio/auto-spies/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hirezio/auto-spies/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hirezio/auto-spies/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hirezio/auto-spies/HEAD/.gitignore -------------------------------------------------------------------------------- /.husky/commit-msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hirezio/auto-spies/HEAD/.husky/commit-msg -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | . "$(dirname "$0")/_/husky.sh" 3 | 4 | pnpm run format:fix 5 | -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | coverage -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | save-exact = true 2 | auto-install-peers=false -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | v22.19.0 -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | node_modules -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hirezio/auto-spies/HEAD/.prettierrc -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hirezio/auto-spies/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hirezio/auto-spies/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hirezio/auto-spies/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hirezio/auto-spies/HEAD/README.md -------------------------------------------------------------------------------- /commitlint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hirezio/auto-spies/HEAD/commitlint.config.js -------------------------------------------------------------------------------- /for-readme/test-angular.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hirezio/auto-spies/HEAD/for-readme/test-angular.jpg -------------------------------------------------------------------------------- /lerna.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hirezio/auto-spies/HEAD/lerna.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hirezio/auto-spies/HEAD/package.json -------------------------------------------------------------------------------- /packages/auto-spies-core/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | coverage -------------------------------------------------------------------------------- /packages/auto-spies-core/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hirezio/auto-spies/HEAD/packages/auto-spies-core/CHANGELOG.md -------------------------------------------------------------------------------- /packages/auto-spies-core/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hirezio/auto-spies/HEAD/packages/auto-spies-core/jest.config.js -------------------------------------------------------------------------------- /packages/auto-spies-core/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hirezio/auto-spies/HEAD/packages/auto-spies-core/package.json -------------------------------------------------------------------------------- /packages/auto-spies-core/src/args-map.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hirezio/auto-spies/HEAD/packages/auto-spies-core/src/args-map.ts -------------------------------------------------------------------------------- /packages/auto-spies-core/src/auto-spies-core.types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hirezio/auto-spies/HEAD/packages/auto-spies-core/src/auto-spies-core.types.ts -------------------------------------------------------------------------------- /packages/auto-spies-core/src/create-accessors-spies.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hirezio/auto-spies/HEAD/packages/auto-spies-core/src/create-accessors-spies.ts -------------------------------------------------------------------------------- /packages/auto-spies-core/src/create-auto-spy-from-class.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hirezio/auto-spies/HEAD/packages/auto-spies-core/src/create-auto-spy-from-class.ts -------------------------------------------------------------------------------- /packages/auto-spies-core/src/create-function-auto-spy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hirezio/auto-spies/HEAD/packages/auto-spies-core/src/create-function-auto-spy.ts -------------------------------------------------------------------------------- /packages/auto-spies-core/src/errors/error-handler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hirezio/auto-spies/HEAD/packages/auto-spies-core/src/errors/error-handler.ts -------------------------------------------------------------------------------- /packages/auto-spies-core/src/errors/error-handling.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hirezio/auto-spies/HEAD/packages/auto-spies-core/src/errors/error-handling.spec.ts -------------------------------------------------------------------------------- /packages/auto-spies-core/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hirezio/auto-spies/HEAD/packages/auto-spies-core/src/index.ts -------------------------------------------------------------------------------- /packages/auto-spies-core/src/observables/create-observable-with-values.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hirezio/auto-spies/HEAD/packages/auto-spies-core/src/observables/create-observable-with-values.spec.ts -------------------------------------------------------------------------------- /packages/auto-spies-core/src/observables/create-observable-with-values.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hirezio/auto-spies/HEAD/packages/auto-spies-core/src/observables/create-observable-with-values.ts -------------------------------------------------------------------------------- /packages/auto-spies-core/src/observables/merge-subject-with-default-values.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hirezio/auto-spies/HEAD/packages/auto-spies-core/src/observables/merge-subject-with-default-values.ts -------------------------------------------------------------------------------- /packages/auto-spies-core/src/observables/observable-spy-utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hirezio/auto-spies/HEAD/packages/auto-spies-core/src/observables/observable-spy-utils.ts -------------------------------------------------------------------------------- /packages/auto-spies-core/src/observables/observable-spy.types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hirezio/auto-spies/HEAD/packages/auto-spies-core/src/observables/observable-spy.types.ts -------------------------------------------------------------------------------- /packages/auto-spies-core/src/promises/promises-spy-utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hirezio/auto-spies/HEAD/packages/auto-spies-core/src/promises/promises-spy-utils.ts -------------------------------------------------------------------------------- /packages/auto-spies-core/src/promises/promises-spy.types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hirezio/auto-spies/HEAD/packages/auto-spies-core/src/promises/promises-spy.types.ts -------------------------------------------------------------------------------- /packages/auto-spies-core/tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hirezio/auto-spies/HEAD/packages/auto-spies-core/tsconfig.build.json -------------------------------------------------------------------------------- /packages/auto-spies-core/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hirezio/auto-spies/HEAD/packages/auto-spies-core/tsconfig.json -------------------------------------------------------------------------------- /packages/auto-spies-core/tsconfig.spec.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hirezio/auto-spies/HEAD/packages/auto-spies-core/tsconfig.spec.json -------------------------------------------------------------------------------- /packages/jasmine-auto-spies/.all-contributorsrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hirezio/auto-spies/HEAD/packages/jasmine-auto-spies/.all-contributorsrc -------------------------------------------------------------------------------- /packages/jasmine-auto-spies/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | coverage -------------------------------------------------------------------------------- /packages/jasmine-auto-spies/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hirezio/auto-spies/HEAD/packages/jasmine-auto-spies/CHANGELOG.md -------------------------------------------------------------------------------- /packages/jasmine-auto-spies/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hirezio/auto-spies/HEAD/packages/jasmine-auto-spies/README.md -------------------------------------------------------------------------------- /packages/jasmine-auto-spies/karma.conf.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hirezio/auto-spies/HEAD/packages/jasmine-auto-spies/karma.conf.ts -------------------------------------------------------------------------------- /packages/jasmine-auto-spies/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hirezio/auto-spies/HEAD/packages/jasmine-auto-spies/package.json -------------------------------------------------------------------------------- /packages/jasmine-auto-spies/src/angular-provider-helper.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hirezio/auto-spies/HEAD/packages/jasmine-auto-spies/src/angular-provider-helper.ts -------------------------------------------------------------------------------- /packages/jasmine-auto-spies/src/create-function-spy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hirezio/auto-spies/HEAD/packages/jasmine-auto-spies/src/create-function-spy.ts -------------------------------------------------------------------------------- /packages/jasmine-auto-spies/src/create-spy-from-class.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hirezio/auto-spies/HEAD/packages/jasmine-auto-spies/src/create-spy-from-class.ts -------------------------------------------------------------------------------- /packages/jasmine-auto-spies/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hirezio/auto-spies/HEAD/packages/jasmine-auto-spies/src/index.ts -------------------------------------------------------------------------------- /packages/jasmine-auto-spies/src/jasmine-auto-spies.types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hirezio/auto-spies/HEAD/packages/jasmine-auto-spies/src/jasmine-auto-spies.types.ts -------------------------------------------------------------------------------- /packages/jasmine-auto-spies/src/tests/create-spy-from-class.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hirezio/auto-spies/HEAD/packages/jasmine-auto-spies/src/tests/create-spy-from-class.spec.ts -------------------------------------------------------------------------------- /packages/jasmine-auto-spies/src/tests/fake-classes-to-test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hirezio/auto-spies/HEAD/packages/jasmine-auto-spies/src/tests/fake-classes-to-test.ts -------------------------------------------------------------------------------- /packages/jasmine-auto-spies/src/tests/observable-spy-utils.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hirezio/auto-spies/HEAD/packages/jasmine-auto-spies/src/tests/observable-spy-utils.spec.ts -------------------------------------------------------------------------------- /packages/jasmine-auto-spies/src/tests/promises-spy-utils.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hirezio/auto-spies/HEAD/packages/jasmine-auto-spies/src/tests/promises-spy-utils.spec.ts -------------------------------------------------------------------------------- /packages/jasmine-auto-spies/test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hirezio/auto-spies/HEAD/packages/jasmine-auto-spies/test.ts -------------------------------------------------------------------------------- /packages/jasmine-auto-spies/tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hirezio/auto-spies/HEAD/packages/jasmine-auto-spies/tsconfig.build.json -------------------------------------------------------------------------------- /packages/jasmine-auto-spies/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hirezio/auto-spies/HEAD/packages/jasmine-auto-spies/tsconfig.json -------------------------------------------------------------------------------- /packages/jasmine-auto-spies/tsconfig.spec.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hirezio/auto-spies/HEAD/packages/jasmine-auto-spies/tsconfig.spec.json -------------------------------------------------------------------------------- /packages/jasmine-auto-spies/webpack.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hirezio/auto-spies/HEAD/packages/jasmine-auto-spies/webpack.config.ts -------------------------------------------------------------------------------- /packages/jest-auto-spies/.all-contributorsrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hirezio/auto-spies/HEAD/packages/jest-auto-spies/.all-contributorsrc -------------------------------------------------------------------------------- /packages/jest-auto-spies/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | coverage -------------------------------------------------------------------------------- /packages/jest-auto-spies/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hirezio/auto-spies/HEAD/packages/jest-auto-spies/CHANGELOG.md -------------------------------------------------------------------------------- /packages/jest-auto-spies/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hirezio/auto-spies/HEAD/packages/jest-auto-spies/README.md -------------------------------------------------------------------------------- /packages/jest-auto-spies/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hirezio/auto-spies/HEAD/packages/jest-auto-spies/jest.config.js -------------------------------------------------------------------------------- /packages/jest-auto-spies/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hirezio/auto-spies/HEAD/packages/jest-auto-spies/package.json -------------------------------------------------------------------------------- /packages/jest-auto-spies/src/angular-provider-helper.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hirezio/auto-spies/HEAD/packages/jest-auto-spies/src/angular-provider-helper.ts -------------------------------------------------------------------------------- /packages/jest-auto-spies/src/create-function-spy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hirezio/auto-spies/HEAD/packages/jest-auto-spies/src/create-function-spy.ts -------------------------------------------------------------------------------- /packages/jest-auto-spies/src/create-spy-from-class.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hirezio/auto-spies/HEAD/packages/jest-auto-spies/src/create-spy-from-class.ts -------------------------------------------------------------------------------- /packages/jest-auto-spies/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hirezio/auto-spies/HEAD/packages/jest-auto-spies/src/index.ts -------------------------------------------------------------------------------- /packages/jest-auto-spies/src/jest-auto-spies.types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hirezio/auto-spies/HEAD/packages/jest-auto-spies/src/jest-auto-spies.types.ts -------------------------------------------------------------------------------- /packages/jest-auto-spies/src/tests/create-spy-from-class.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hirezio/auto-spies/HEAD/packages/jest-auto-spies/src/tests/create-spy-from-class.spec.ts -------------------------------------------------------------------------------- /packages/jest-auto-spies/src/tests/fake-classes-to-test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hirezio/auto-spies/HEAD/packages/jest-auto-spies/src/tests/fake-classes-to-test.ts -------------------------------------------------------------------------------- /packages/jest-auto-spies/src/tests/observable-spy-utils.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hirezio/auto-spies/HEAD/packages/jest-auto-spies/src/tests/observable-spy-utils.spec.ts -------------------------------------------------------------------------------- /packages/jest-auto-spies/src/tests/promises-spy-utils.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hirezio/auto-spies/HEAD/packages/jest-auto-spies/src/tests/promises-spy-utils.spec.ts -------------------------------------------------------------------------------- /packages/jest-auto-spies/tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hirezio/auto-spies/HEAD/packages/jest-auto-spies/tsconfig.build.json -------------------------------------------------------------------------------- /packages/jest-auto-spies/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hirezio/auto-spies/HEAD/packages/jest-auto-spies/tsconfig.json -------------------------------------------------------------------------------- /packages/jest-auto-spies/tsconfig.spec.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hirezio/auto-spies/HEAD/packages/jest-auto-spies/tsconfig.spec.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hirezio/auto-spies/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /pnpm-workspace.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hirezio/auto-spies/HEAD/pnpm-workspace.yaml -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hirezio/auto-spies/HEAD/tsconfig.json --------------------------------------------------------------------------------