Add strip whitespace and trailing eol to spec too. (#3159)
This commit is contained in:
committed by
Florent Vilmart
parent
8359284329
commit
37daafc7b0
@@ -10,9 +10,9 @@ describe('Twitter Auth', () => {
|
||||
}, {
|
||||
consumer_key: 'world'
|
||||
}]).consumer_key).toEqual('hello')
|
||||
|
||||
|
||||
// Multiple options, consumer_key not found
|
||||
expect(function(){
|
||||
expect(function(){
|
||||
twitter.handleMultipleConfigurations({
|
||||
consumer_key: 'some',
|
||||
}, [{
|
||||
@@ -23,7 +23,7 @@ describe('Twitter Auth', () => {
|
||||
}).toThrow();
|
||||
|
||||
// Multiple options, consumer_key not found
|
||||
expect(function(){
|
||||
expect(function(){
|
||||
twitter.handleMultipleConfigurations({
|
||||
auth_token: 'token',
|
||||
}, [{
|
||||
@@ -47,4 +47,4 @@ describe('Twitter Auth', () => {
|
||||
consumer_key: 'hello'
|
||||
}).consumer_key).toEqual('hello');
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user