Add frontend assets and plugin bundles
Add the legacy frontend themes, scripts, and plugin assets required by the main SPOTA interfaces.
This commit is contained in:
18
assets/plugins/jquery.maskedinput/spec/Setup.Spec.js
Normal file
18
assets/plugins/jquery.maskedinput/spec/Setup.Spec.js
Normal file
@@ -0,0 +1,18 @@
|
||||
feature("Masking an Input", function() {
|
||||
scenario('Applying a mask to an already masked input',function(){
|
||||
given("an input with two masks", function(){
|
||||
input
|
||||
.mask("9")
|
||||
.mask("99");
|
||||
});
|
||||
|
||||
when("typing a number",function(){
|
||||
input.mashKeys("1");
|
||||
});
|
||||
|
||||
then("value should be correct",function(){
|
||||
expect(input).toHaveValue('1_');
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user