Fixed throwUnlessAsync

Fixes #2026
This commit is contained in:
Steve Gravrock
2024-02-05 18:49:19 -08:00
parent 726c152f6e
commit 03098e81f8
5 changed files with 6 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
/* /*
Copyright (c) 2008-2019 Pivotal Labs Copyright (c) 2008-2019 Pivotal Labs
Copyright (c) 2008-2023 The Jasmine developers Copyright (c) 2008-2024 The Jasmine developers
Permission is hereby granted, free of charge, to any person obtaining Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the a copy of this software and associated documentation files (the

View File

@@ -1,6 +1,6 @@
/* /*
Copyright (c) 2008-2019 Pivotal Labs Copyright (c) 2008-2019 Pivotal Labs
Copyright (c) 2008-2023 The Jasmine developers Copyright (c) 2008-2024 The Jasmine developers
Permission is hereby granted, free of charge, to any person obtaining Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the a copy of this software and associated documentation files (the

View File

@@ -1,6 +1,6 @@
/* /*
Copyright (c) 2008-2019 Pivotal Labs Copyright (c) 2008-2019 Pivotal Labs
Copyright (c) 2008-2023 The Jasmine developers Copyright (c) 2008-2024 The Jasmine developers
Permission is hereby granted, free of charge, to any person obtaining Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the a copy of this software and associated documentation files (the

View File

@@ -1,6 +1,6 @@
/* /*
Copyright (c) 2008-2019 Pivotal Labs Copyright (c) 2008-2019 Pivotal Labs
Copyright (c) 2008-2023 The Jasmine developers Copyright (c) 2008-2024 The Jasmine developers
Permission is hereby granted, free of charge, to any person obtaining Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the a copy of this software and associated documentation files (the
@@ -8309,7 +8309,7 @@ getJasmineRequireObj().interface = function(jasmine, env) {
* @return {matchers} * @return {matchers}
*/ */
throwUnlessAsync: function(actual) { throwUnlessAsync: function(actual) {
return env.throwUnless(actual); return env.throwUnlessAsync(actual);
}, },
/** /**

View File

@@ -246,7 +246,7 @@ getJasmineRequireObj().interface = function(jasmine, env) {
* @return {matchers} * @return {matchers}
*/ */
throwUnlessAsync: function(actual) { throwUnlessAsync: function(actual) {
return env.throwUnless(actual); return env.throwUnlessAsync(actual);
}, },
/** /**