Skip to content

Commit 7a796f3

Browse files
authored
Update packagelock (#641)
* increase test time for imageclassifier * change charrnn test length * rm test length in favor of shorter in test * fix charrnn test"
1 parent 95c1893 commit 7a796f3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/CharRNN/index_test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const RNN_DEFAULTS = {
2121

2222
const RNN_OPTIONS = {
2323
seed: 'the meaning of pizza is: ',
24-
length: 30,
24+
length: 10,
2525
temperature: 0.7
2626
}
2727

@@ -54,7 +54,7 @@ describe('charRnn', () => {
5454

5555
it('generates content that follows the set options', async() => {
5656
const result = await rnn.generate(RNN_OPTIONS);
57-
expect(result.sample.length).toBe(30);
57+
expect(result.sample.length).toBe(RNN_OPTIONS.length);
5858
});
5959
});
6060
});

src/ImageClassifier/index_test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ describe('imageClassifier', () => {
3737
}
3838

3939
beforeEach(async () => {
40-
jasmine.DEFAULT_TIMEOUT_INTERVAL = 5000;
40+
jasmine.DEFAULT_TIMEOUT_INTERVAL = 15000;
4141
classifier = await imageClassifier('MobileNet', undefined, {});
4242
});
4343

0 commit comments

Comments
 (0)