Skip to content

Commit 6869b3b

Browse files
committed
Remove unnecessary "Should" as test prefix.
1 parent b96a821 commit 6869b3b

File tree

1 file changed

+33
-33
lines changed

1 file changed

+33
-33
lines changed

test/test.js

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,7 @@
682682
})
683683

684684
describe('Orientation', function () {
685-
it('Should keep the orientation', function (done) {
685+
it('Keep the orientation', function (done) {
686686
expect(
687687
loadImage(
688688
blobGIF,
@@ -696,7 +696,7 @@
696696
).to.be.ok
697697
})
698698

699-
it('Should rotate left', function (done) {
699+
it('Rotate left', function (done) {
700700
expect(
701701
loadImage(
702702
blobGIF,
@@ -710,7 +710,7 @@
710710
).to.be.ok
711711
})
712712

713-
it('Should rotate right', function (done) {
713+
it('Rotate right', function (done) {
714714
expect(
715715
loadImage(
716716
blobGIF,
@@ -724,7 +724,7 @@
724724
).to.be.ok
725725
})
726726

727-
it('Should adjust constraints to new coordinates', function (done) {
727+
it('Adjust constraints to new coordinates', function (done) {
728728
expect(
729729
loadImage(
730730
blobGIF,
@@ -738,7 +738,7 @@
738738
).to.be.ok
739739
})
740740

741-
it('Should adjust left and top to new coordinates', function (done) {
741+
it('Adjust left and top to new coordinates', function (done) {
742742
expect(
743743
loadImage(
744744
blobGIF,
@@ -752,7 +752,7 @@
752752
).to.be.ok
753753
})
754754

755-
it('Should adjust right and bottom to new coordinates', function (done) {
755+
it('Adjust right and bottom to new coordinates', function (done) {
756756
expect(
757757
loadImage(
758758
blobGIF,
@@ -766,7 +766,7 @@
766766
).to.be.ok
767767
})
768768

769-
it('Should adjust left and bottom to new coordinates', function (done) {
769+
it('Adjust left and bottom to new coordinates', function (done) {
770770
expect(
771771
loadImage(
772772
blobGIF,
@@ -780,7 +780,7 @@
780780
).to.be.ok
781781
})
782782

783-
it('Should adjust right and top to new coordinates', function (done) {
783+
it('Adjust right and top to new coordinates', function (done) {
784784
expect(
785785
loadImage(
786786
blobGIF,
@@ -794,7 +794,7 @@
794794
).to.be.ok
795795
})
796796

797-
it('Should rotate left with the given pixelRatio', function (done) {
797+
it('Rotate left with the given pixelRatio', function (done) {
798798
expect(
799799
loadImage(
800800
blobGIF,
@@ -810,7 +810,7 @@
810810
).to.be.ok
811811
})
812812

813-
it('Should rotate right with the given pixelRatio', function (done) {
813+
it('Rotate right with the given pixelRatio', function (done) {
814814
expect(
815815
loadImage(
816816
blobGIF,
@@ -826,7 +826,7 @@
826826
).to.be.ok
827827
})
828828

829-
it('Should ignore too small orientation value', function (done) {
829+
it('Ignore too small orientation value', function (done) {
830830
expect(
831831
loadImage(
832832
blobGIF,
@@ -840,7 +840,7 @@
840840
).to.be.ok
841841
})
842842

843-
it('Should ignore too large orientation value', function (done) {
843+
it('Ignore too large orientation value', function (done) {
844844
expect(
845845
loadImage(
846846
blobGIF,
@@ -854,7 +854,7 @@
854854
).to.be.ok
855855
})
856856

857-
it('Should rotate right based on the exif orientation value', function (done) {
857+
it('Rotate right based on the exif orientation value', function (done) {
858858
expect(
859859
loadImage(
860860
blobJPEG,
@@ -906,7 +906,7 @@
906906
).to.be.ok
907907
})
908908

909-
it('Should scale image after exif based orientation', function (done) {
909+
it('Scale image after exif based orientation', function (done) {
910910
expect(
911911
loadImage(
912912
blobJPEG,
@@ -923,7 +923,7 @@
923923
describe('from-image', function () {
924924
if (!loadImage.orientation) return
925925

926-
it('Should use automatic browser image orientation', function (done) {
926+
it('Use automatic browser image orientation', function (done) {
927927
expect(
928928
loadImage(
929929
blobJPEG,
@@ -1005,15 +1005,15 @@
10051005
})
10061006

10071007
describe('Metadata', function () {
1008-
it('Should parse Exif tags', function (done) {
1008+
it('Parse Exif tags', function (done) {
10091009
loadImage.parseMetaData(blobJPEG, function (data) {
10101010
expect(data.exif).to.be.ok
10111011
expect(data.exif.get('Orientation')).to.equal(6)
10121012
done()
10131013
})
10141014
})
10151015

1016-
it('Should not parse Exif tags if disabled', function (done) {
1016+
it('Do not parse Exif tags if disabled', function (done) {
10171017
loadImage.parseMetaData(
10181018
blobJPEG,
10191019
function (data) {
@@ -1024,7 +1024,7 @@
10241024
)
10251025
})
10261026

1027-
it('Should parse Exif tag offsets', function (done) {
1027+
it('Parse Exif tag offsets', function (done) {
10281028
loadImage.parseMetaData(blobJPEG, function (data) {
10291029
expect(data.exifOffsets).to.be.ok
10301030
expect(data.exifOffsets.get('Orientation')).to.equal(0x16)
@@ -1034,7 +1034,7 @@
10341034
})
10351035
})
10361036

1037-
it('Should not parse Exif tag offsets if disabled', function (done) {
1037+
it('Do not parse Exif tag offsets if disabled', function (done) {
10381038
loadImage.parseMetaData(
10391039
blobJPEG,
10401040
function (data) {
@@ -1045,7 +1045,7 @@
10451045
)
10461046
})
10471047

1048-
it('Should only parse included Exif tags', function (done) {
1048+
it('Only parse included Exif tags', function (done) {
10491049
loadImage.parseMetaData(
10501050
blobJPEG,
10511051
function (data) {
@@ -1065,7 +1065,7 @@
10651065
)
10661066
})
10671067

1068-
it('Should not parse excluded Exif tags', function (done) {
1068+
it('Do not parse excluded Exif tags', function (done) {
10691069
loadImage.parseMetaData(
10701070
blobJPEG,
10711071
function (data) {
@@ -1085,15 +1085,15 @@
10851085
)
10861086
})
10871087

1088-
it('Should parse IPTC tags', function (done) {
1088+
it('Parse IPTC tags', function (done) {
10891089
loadImage.parseMetaData(blobJPEG, function (data) {
10901090
expect(data.iptc).to.be.ok
10911091
expect(data.iptc.get('ObjectName')).to.equal('blueimp.net')
10921092
done()
10931093
})
10941094
})
10951095

1096-
it('Should not parse IPTC tags if disabled', function (done) {
1096+
it('Do not parse IPTC tags if disabled', function (done) {
10971097
loadImage.parseMetaData(
10981098
blobJPEG,
10991099
function (data) {
@@ -1104,15 +1104,15 @@
11041104
)
11051105
})
11061106

1107-
it('Should parse IPTC tag offsets', function (done) {
1107+
it('Parse IPTC tag offsets', function (done) {
11081108
loadImage.parseMetaData(blobJPEG, function (data) {
11091109
expect(data.iptcOffsets).to.be.ok
11101110
expect(data.iptcOffsets.get('ObjectName')).to.equal(0x44)
11111111
done()
11121112
})
11131113
})
11141114

1115-
it('Should not parse IPTC tag offsets if disabled', function (done) {
1115+
it('Do not parse IPTC tag offsets if disabled', function (done) {
11161116
loadImage.parseMetaData(
11171117
blobJPEG,
11181118
function (data) {
@@ -1123,7 +1123,7 @@
11231123
)
11241124
})
11251125

1126-
it('Should only parse included IPTC tags', function (done) {
1126+
it('Only parse included IPTC tags', function (done) {
11271127
loadImage.parseMetaData(
11281128
blobJPEG,
11291129
function (data) {
@@ -1145,7 +1145,7 @@
11451145
)
11461146
})
11471147

1148-
it('Should not parse excluded IPTC tags', function (done) {
1148+
it('Do not parse excluded IPTC tags', function (done) {
11491149
loadImage.parseMetaData(
11501150
blobJPEG,
11511151
function (data) {
@@ -1167,7 +1167,7 @@
11671167
)
11681168
})
11691169

1170-
it('Should parse the complete image head', function (done) {
1170+
it('Parse the complete image head', function (done) {
11711171
loadImage.parseMetaData(blobJPEG, function (data) {
11721172
expect(data.imageHead).to.be.ok
11731173
loadImage.parseMetaData(
@@ -1181,7 +1181,7 @@
11811181
})
11821182
})
11831183

1184-
it('Should not parse the complete image head if disabled', function (done) {
1184+
it('Do not parse the complete image head if disabled', function (done) {
11851185
loadImage.parseMetaData(
11861186
blobJPEG,
11871187
function (data) {
@@ -1192,7 +1192,7 @@
11921192
)
11931193
})
11941194

1195-
it('Should parse meta data automatically', function (done) {
1195+
it('Parse meta data automatically', function (done) {
11961196
expect(
11971197
loadImage(
11981198
blobJPEG,
@@ -1210,7 +1210,7 @@
12101210
).to.be.ok
12111211
})
12121212

1213-
it('Should write Exif Orientation tag and replace image head', function (done) {
1213+
it('Write Exif Orientation tag and replace image head', function (done) {
12141214
loadImage(
12151215
blobJPEG,
12161216
function (img, data) {
@@ -1253,7 +1253,7 @@
12531253
return
12541254
}
12551255

1256-
it('Should fetch image URL as blob if meta option is true', function (done) {
1256+
it('Fetch image URL as blob if meta option is true', function (done) {
12571257
expect(
12581258
loadImage(
12591259
// IE does not allow XMLHttpRequest access to data URLs,
@@ -1273,7 +1273,7 @@
12731273
).to.be.ok
12741274
})
12751275

1276-
it('Should load image URL as img if meta option is false', function (done) {
1276+
it('Load image URL as img if meta option is false', function (done) {
12771277
expect(
12781278
loadImage(imageUrlJPEG, function (img, data) {
12791279
expect(data.imageHead).to.be.undefined

0 commit comments

Comments
 (0)