Skip to content

Commit e282561

Browse files
committed
test: add integration test for getStopwordListStatus
1 parent 1de87ef commit e282561

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

test/integration/discovery.test.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -516,6 +516,18 @@ describe('discovery_integration', function() {
516516
done();
517517
});
518518
});
519+
it('should getStopwordListStatus', function(done) {
520+
const params = {
521+
environment_id,
522+
collection_id,
523+
};
524+
discovery.getStopwordListStatus(params, (err, res) => {
525+
expect(err).toBeNull();
526+
expect(res.type).toBeDefined();
527+
expect(res.status).toBeDefined();
528+
done();
529+
});
530+
});
519531
it('should deleteStopwordList', function(done) {
520532
const params = {
521533
environment_id,

0 commit comments

Comments
 (0)