Merge branch 'main' into feature-host-set-host-capabilities

This commit is contained in:
Randall Morey authored and GitHub committed 2021-10-05 12:37:16 -04:00
commit 5874ad8d30
17 files changed
+299 -153

No files matched your search

+6 -6
View File
@@ -120,17 +120,17 @@ export default function initializeMockIPC(server) {
}
/**
* Check for browsers running on mac OS
* Check for window chrome on MacOS
*/
isMacOS() {
return Boolean(window.navigator.userAgent.match(/(macintosh)/i));
hasMacOSChrome() {
return false;
}
/**
* Check for browsers running on windows OS
* Check for OS chrome state
*/
isWindowsOS() {
return Boolean(window.navigator.userAgent.match(/(windows)/i));
showWindowActions() {
return true;
}
/**
@@ -37,7 +37,7 @@ module('Unit | Abilities | Target', function (hooks) {
assert.notOk(service.can('removeHostSources target', model));
});
test('it reflects when a given target may add crednetial sources', function (assert) {
test('it reflects when a given target may add credential sources', function (assert) {
assert.expect(2);
const service = this.owner.lookup('service:can');
const model = {