Skip to content
Sign up
Product
Features
Mobile
Actions
Codespaces
Copilot
Packages
Security
Code review
Issues
Discussions
Integrations
GitHub Sponsors
Customer stories
Team
Enterprise
Explore
Explore GitHub
Learn and contribute
Topics
Collections
Trending
Skills
GitHub Sponsors
Open source guides
Connect with others
The ReadME Project
Events
Community forum
GitHub Education
GitHub Stars program
Marketplace
Pricing
Plans
Compare plans
Contact Sales
Education
In this repository
All GitHub
↵
Jump to
↵
No suggested jump to results
In this repository
All GitHub
↵
Jump to
↵
In this organization
All GitHub
↵
Jump to
↵
In this repository
All GitHub
↵
Jump to
↵
Sign in
Sign up
{{ message }}
apache
/
cordova-common
Public
Notifications
Fork
40
Star
31
Code
Issues
9
Pull requests
4
Actions
Projects
0
Security
Insights
More
Code
Issues
Pull requests
Actions
Projects
Security
Insights
Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Re-apply fix for failing CordovaError test (
#93
)
This fix was first introduced in
#65
and reverted by
#89
Fixes
#49
Loading branch information
raphinesse
committed
Oct 24, 2019
1 parent
27fd18e
commit
b75af03f89bfe991aec8ffee9b435e6436293805
Showing
1 changed file
with
1 addition
and
1 deletion
.
Split
Unified
There are no files selected for viewing
2
spec/CordovaError/CordovaError.spec.js
Show comments
View file
Edit file
Delete file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ describe('CordovaError class', function () {
it
(
'Test 003 : toString works'
,
function
(
)
{
var
error003_1
=
new
CordovaError
(
'error'
,
0
)
;
expect
(
error003_1
.
toString
(
false
)
)
.
toEqual
(
'error'
)
;
expect
(
error003_1
.
toString
(
true
)
.
substring
(
0
,
12
)
)
.
toEqual
(
'CordovaError'
)
;
expect
(
error003_1
.
toString
(
true
)
)
.
toContain
(
error003_1
.
stack
)
;
var
error003_2
=
new
CordovaError
(
'error'
,
1
)
;
expect
(
error003_2
.
toString
(
false
)
)
.
toEqual
(
'External tool failed with an error: error'
)
;
}
)
;
Toggle all file notes
Toggle all file annotations
0 comments on commit
b75af03
Please
sign in
to comment.
You can’t perform that action at this time.
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.