├── .editorconfig ├── .github └── workflows │ └── ci.yml ├── .gitignore ├── .prettierignore ├── .prettierrc.cjs ├── .yarnrc.yml ├── CHANGELOG.md ├── CONTRIBUTING.md ├── LICENSE.md ├── README.md ├── RELEASE.md ├── ember-window-mock ├── .eslintignore ├── .eslintrc.cjs ├── .gitignore ├── .prettierignore ├── .prettierrc.cjs ├── addon-main.cjs ├── index.d.ts ├── package.json └── src │ ├── index.js │ └── test-support │ ├── -private │ ├── mock │ │ ├── function.js │ │ ├── location.js │ │ ├── proxy.js │ │ └── storage.js │ ├── setup-window-mock.js │ └── window.js │ └── index.js ├── package.json ├── renovate.json ├── test-app ├── .editorconfig ├── .ember-cli ├── .eslintignore ├── .eslintrc.js ├── .github │ └── workflows │ │ └── ci.yml ├── .gitignore ├── .prettierignore ├── .prettierrc.js ├── .template-lintrc.js ├── .watchmanconfig ├── README.md ├── app │ ├── app.ts │ ├── components │ │ ├── .gitkeep │ │ ├── window-tester.hbs │ │ └── window-tester.js │ ├── config │ │ └── environment.d.ts │ ├── controllers │ │ └── .gitkeep │ ├── helpers │ │ └── .gitkeep │ ├── index.html │ ├── models │ │ └── .gitkeep │ ├── router.js │ ├── routes │ │ └── .gitkeep │ ├── styles │ │ └── app.css │ └── templates │ │ └── application.hbs ├── config │ ├── ember-cli-update.json │ ├── ember-try.js │ ├── environment.js │ ├── optional-features.json │ └── targets.js ├── ember-cli-build.js ├── package.json ├── public │ ├── crossdomain.xml │ └── robots.txt ├── testem.js ├── tests │ ├── acceptance │ │ └── window-test.js │ ├── helpers │ │ └── index.js │ ├── index.html │ ├── integration │ │ ├── .gitkeep │ │ └── window-test.ts │ ├── test-helper.ts │ └── unit │ │ ├── .gitkeep │ │ ├── create-mocked-window-test.ts │ │ ├── run-window-tests.ts │ │ ├── setup-window-mock-test.ts │ │ ├── sinon-test.js │ │ └── window-mock-test.ts └── tsconfig.json └── yarn.lock /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonihmig/ember-window-mock/HEAD/.editorconfig -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonihmig/ember-window-mock/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonihmig/ember-window-mock/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonihmig/ember-window-mock/HEAD/.prettierignore -------------------------------------------------------------------------------- /.prettierrc.cjs: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports = { 4 | singleQuote: true, 5 | }; 6 | -------------------------------------------------------------------------------- /.yarnrc.yml: -------------------------------------------------------------------------------- 1 | nodeLinker: node-modules -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonihmig/ember-window-mock/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonihmig/ember-window-mock/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonihmig/ember-window-mock/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonihmig/ember-window-mock/HEAD/README.md -------------------------------------------------------------------------------- /RELEASE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonihmig/ember-window-mock/HEAD/RELEASE.md -------------------------------------------------------------------------------- /ember-window-mock/.eslintignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonihmig/ember-window-mock/HEAD/ember-window-mock/.eslintignore -------------------------------------------------------------------------------- /ember-window-mock/.eslintrc.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonihmig/ember-window-mock/HEAD/ember-window-mock/.eslintrc.cjs -------------------------------------------------------------------------------- /ember-window-mock/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonihmig/ember-window-mock/HEAD/ember-window-mock/.gitignore -------------------------------------------------------------------------------- /ember-window-mock/.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonihmig/ember-window-mock/HEAD/ember-window-mock/.prettierignore -------------------------------------------------------------------------------- /ember-window-mock/.prettierrc.cjs: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports = { 4 | singleQuote: true, 5 | }; 6 | -------------------------------------------------------------------------------- /ember-window-mock/addon-main.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonihmig/ember-window-mock/HEAD/ember-window-mock/addon-main.cjs -------------------------------------------------------------------------------- /ember-window-mock/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonihmig/ember-window-mock/HEAD/ember-window-mock/index.d.ts -------------------------------------------------------------------------------- /ember-window-mock/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonihmig/ember-window-mock/HEAD/ember-window-mock/package.json -------------------------------------------------------------------------------- /ember-window-mock/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonihmig/ember-window-mock/HEAD/ember-window-mock/src/index.js -------------------------------------------------------------------------------- /ember-window-mock/src/test-support/-private/mock/function.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonihmig/ember-window-mock/HEAD/ember-window-mock/src/test-support/-private/mock/function.js -------------------------------------------------------------------------------- /ember-window-mock/src/test-support/-private/mock/location.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonihmig/ember-window-mock/HEAD/ember-window-mock/src/test-support/-private/mock/location.js -------------------------------------------------------------------------------- /ember-window-mock/src/test-support/-private/mock/proxy.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonihmig/ember-window-mock/HEAD/ember-window-mock/src/test-support/-private/mock/proxy.js -------------------------------------------------------------------------------- /ember-window-mock/src/test-support/-private/mock/storage.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonihmig/ember-window-mock/HEAD/ember-window-mock/src/test-support/-private/mock/storage.js -------------------------------------------------------------------------------- /ember-window-mock/src/test-support/-private/setup-window-mock.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonihmig/ember-window-mock/HEAD/ember-window-mock/src/test-support/-private/setup-window-mock.js -------------------------------------------------------------------------------- /ember-window-mock/src/test-support/-private/window.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonihmig/ember-window-mock/HEAD/ember-window-mock/src/test-support/-private/window.js -------------------------------------------------------------------------------- /ember-window-mock/src/test-support/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonihmig/ember-window-mock/HEAD/ember-window-mock/src/test-support/index.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonihmig/ember-window-mock/HEAD/package.json -------------------------------------------------------------------------------- /renovate.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonihmig/ember-window-mock/HEAD/renovate.json -------------------------------------------------------------------------------- /test-app/.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonihmig/ember-window-mock/HEAD/test-app/.editorconfig -------------------------------------------------------------------------------- /test-app/.ember-cli: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonihmig/ember-window-mock/HEAD/test-app/.ember-cli -------------------------------------------------------------------------------- /test-app/.eslintignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonihmig/ember-window-mock/HEAD/test-app/.eslintignore -------------------------------------------------------------------------------- /test-app/.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonihmig/ember-window-mock/HEAD/test-app/.eslintrc.js -------------------------------------------------------------------------------- /test-app/.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonihmig/ember-window-mock/HEAD/test-app/.github/workflows/ci.yml -------------------------------------------------------------------------------- /test-app/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonihmig/ember-window-mock/HEAD/test-app/.gitignore -------------------------------------------------------------------------------- /test-app/.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonihmig/ember-window-mock/HEAD/test-app/.prettierignore -------------------------------------------------------------------------------- /test-app/.prettierrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonihmig/ember-window-mock/HEAD/test-app/.prettierrc.js -------------------------------------------------------------------------------- /test-app/.template-lintrc.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports = { 4 | extends: 'recommended', 5 | }; 6 | -------------------------------------------------------------------------------- /test-app/.watchmanconfig: -------------------------------------------------------------------------------- 1 | { 2 | "ignore_dirs": ["dist"] 3 | } 4 | -------------------------------------------------------------------------------- /test-app/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonihmig/ember-window-mock/HEAD/test-app/README.md -------------------------------------------------------------------------------- /test-app/app/app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonihmig/ember-window-mock/HEAD/test-app/app/app.ts -------------------------------------------------------------------------------- /test-app/app/components/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test-app/app/components/window-tester.hbs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonihmig/ember-window-mock/HEAD/test-app/app/components/window-tester.hbs -------------------------------------------------------------------------------- /test-app/app/components/window-tester.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonihmig/ember-window-mock/HEAD/test-app/app/components/window-tester.js -------------------------------------------------------------------------------- /test-app/app/config/environment.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonihmig/ember-window-mock/HEAD/test-app/app/config/environment.d.ts -------------------------------------------------------------------------------- /test-app/app/controllers/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test-app/app/helpers/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test-app/app/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonihmig/ember-window-mock/HEAD/test-app/app/index.html -------------------------------------------------------------------------------- /test-app/app/models/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test-app/app/router.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonihmig/ember-window-mock/HEAD/test-app/app/router.js -------------------------------------------------------------------------------- /test-app/app/routes/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test-app/app/styles/app.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonihmig/ember-window-mock/HEAD/test-app/app/styles/app.css -------------------------------------------------------------------------------- /test-app/app/templates/application.hbs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonihmig/ember-window-mock/HEAD/test-app/app/templates/application.hbs -------------------------------------------------------------------------------- /test-app/config/ember-cli-update.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonihmig/ember-window-mock/HEAD/test-app/config/ember-cli-update.json -------------------------------------------------------------------------------- /test-app/config/ember-try.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonihmig/ember-window-mock/HEAD/test-app/config/ember-try.js -------------------------------------------------------------------------------- /test-app/config/environment.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonihmig/ember-window-mock/HEAD/test-app/config/environment.js -------------------------------------------------------------------------------- /test-app/config/optional-features.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonihmig/ember-window-mock/HEAD/test-app/config/optional-features.json -------------------------------------------------------------------------------- /test-app/config/targets.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonihmig/ember-window-mock/HEAD/test-app/config/targets.js -------------------------------------------------------------------------------- /test-app/ember-cli-build.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonihmig/ember-window-mock/HEAD/test-app/ember-cli-build.js -------------------------------------------------------------------------------- /test-app/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonihmig/ember-window-mock/HEAD/test-app/package.json -------------------------------------------------------------------------------- /test-app/public/crossdomain.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonihmig/ember-window-mock/HEAD/test-app/public/crossdomain.xml -------------------------------------------------------------------------------- /test-app/public/robots.txt: -------------------------------------------------------------------------------- 1 | # http://www.robotstxt.org 2 | User-agent: * 3 | Disallow: 4 | -------------------------------------------------------------------------------- /test-app/testem.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonihmig/ember-window-mock/HEAD/test-app/testem.js -------------------------------------------------------------------------------- /test-app/tests/acceptance/window-test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonihmig/ember-window-mock/HEAD/test-app/tests/acceptance/window-test.js -------------------------------------------------------------------------------- /test-app/tests/helpers/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonihmig/ember-window-mock/HEAD/test-app/tests/helpers/index.js -------------------------------------------------------------------------------- /test-app/tests/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonihmig/ember-window-mock/HEAD/test-app/tests/index.html -------------------------------------------------------------------------------- /test-app/tests/integration/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test-app/tests/integration/window-test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonihmig/ember-window-mock/HEAD/test-app/tests/integration/window-test.ts -------------------------------------------------------------------------------- /test-app/tests/test-helper.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonihmig/ember-window-mock/HEAD/test-app/tests/test-helper.ts -------------------------------------------------------------------------------- /test-app/tests/unit/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test-app/tests/unit/create-mocked-window-test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonihmig/ember-window-mock/HEAD/test-app/tests/unit/create-mocked-window-test.ts -------------------------------------------------------------------------------- /test-app/tests/unit/run-window-tests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonihmig/ember-window-mock/HEAD/test-app/tests/unit/run-window-tests.ts -------------------------------------------------------------------------------- /test-app/tests/unit/setup-window-mock-test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonihmig/ember-window-mock/HEAD/test-app/tests/unit/setup-window-mock-test.ts -------------------------------------------------------------------------------- /test-app/tests/unit/sinon-test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonihmig/ember-window-mock/HEAD/test-app/tests/unit/sinon-test.js -------------------------------------------------------------------------------- /test-app/tests/unit/window-mock-test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonihmig/ember-window-mock/HEAD/test-app/tests/unit/window-mock-test.ts -------------------------------------------------------------------------------- /test-app/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonihmig/ember-window-mock/HEAD/test-app/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonihmig/ember-window-mock/HEAD/yarn.lock --------------------------------------------------------------------------------