Files
spota-dev/assets/plugins/jquery.maskedinput/spec/Setup.Spec.js
Power BI Dev a52c2a8462 Add frontend assets and plugin bundles
Add the legacy frontend themes, scripts, and plugin assets required by the main SPOTA interfaces.
2026-05-02 10:09:32 +07:00

19 lines
367 B
JavaScript

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_');
});
});
});