Skip to content

Commit af452a7

Browse files
committed
Re-enable some disabled tests
1 parent 9c4706d commit af452a7

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

test/api.test.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ const expectImage = (res, format, width, height) => {
104104
});
105105
};
106106

107-
test.skip('thumbnails', async () => {
107+
test('thumbnails', async () => {
108108
await request.get('/thumbnails/1')
109109
.expect('Content-Type', 'image/jpeg')
110110
.expect(200)
@@ -146,15 +146,15 @@ test.skip('thumbnails', async () => {
146146
expect(metrics.thumbnails).toBe(6);
147147
});
148148

149-
test.skip('avatars', async () => {
149+
test('avatars', async () => {
150150
await request.get('/avatars/139')
151151
.expect('Content-Type', 'image/png')
152152
.expect(200)
153-
.then((res) => expectImage(res, 'png', 32, 32));
153+
.then((res) => expectImage(res, 'png', 60, 60));
154154
expect(metrics.avatars).toBe(1);
155155
});
156156

157-
test.skip('avatars', async () => {
157+
test('avatars', async () => {
158158
await request.get('/avatars/by-username/TestMuffin')
159159
.expect('Content-Type', 'image/png')
160160
.expect(200)
@@ -163,15 +163,15 @@ test.skip('avatars', async () => {
163163
expect(metrics.avatars).toBe(1);
164164
});
165165

166-
test.skip('translate', async () => {
166+
test('translate', async () => {
167167
const data = await request.get('/translate/translate?language=en&text=test')
168168
.expect('Content-Type', /json/)
169169
.expect(200);
170170
expect(data.body.result).toBe('test');
171171
expect(metrics.translate).toBe(1);
172172
});
173173

174-
test.skip('translate', async () => {
174+
test('tts', async () => {
175175
const data = await request.get('/tts/synth?locale=en-US&gender=male&text=test')
176176
.expect('Content-Type', /audio/)
177177
.expect(200);

0 commit comments

Comments
 (0)