mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Fix 22 typos found by codespell
Here are typos with their counts and introduced fix:
1 autmatically ==> automatically
1 commited ==> committed
1 currenlty ==> currently
1 dependecies ==> dependencies
1 referrenced ==> referenced
1 signleton ==> singleton
1 somwhere ==> somewhere
1 specied ==> specified
1 specifiy ==> specify
1 statment ==> statement
1 successfuly ==> successfully
1 unavaiable ==> unavailable
2 ellapsed ==> elapsed
3 arrray ==> array
3 compatability ==> compatibility
3 defintion ==> definition
4 compability ==> compatibility
4 mesage ==> message
4 notifiction ==> notification
5 re-use ==> reuse
6 doesnt ==> does not
6 non-existant ==> non-existent
This commit is contained in:
@@ -158,7 +158,7 @@ describe('red/runtime/nodes/credentials', function() {
|
||||
settings: encryptionDisabledSettings,
|
||||
nodes: { getType: () => function(){} }
|
||||
});
|
||||
var defintion = {
|
||||
var definition = {
|
||||
user1:{type:"text"},
|
||||
password1:{type:"password"},
|
||||
user2:{type:"text"},
|
||||
@@ -167,9 +167,9 @@ describe('red/runtime/nodes/credentials', function() {
|
||||
password3:{type:"password"}
|
||||
|
||||
};
|
||||
credentials.register("test",defintion);
|
||||
credentials.register("test",definition);
|
||||
var def = credentials.getDefinition("test");
|
||||
defintion.should.eql(def);
|
||||
definition.should.eql(def);
|
||||
|
||||
credentials.load({"node":{user1:"abc",password1:"123",user2:"def",password2:"456",user3:"ghi",password3:"789"}}).then(function() {
|
||||
var node = {id:"node",type:"test",credentials:{
|
||||
|
||||
Reference in New Issue
Block a user