mirror of
https://github.com/wassname/talk.git
synced 2026-06-28 16:14:49 +08:00
a7e9c0c776
- Updated enum values to be uppercase - Updated services to expose service models - Updated models to only export the mongoose model - Moved all mongoose static methods over to new services - Updated tests to refelct new setup BREAKING - Status that were uppercased (caps) have caused issues with the admin pages
23 lines
517 B
JavaScript
23 lines
517 B
JavaScript
describe('services.scraper', () => {
|
|
describe('#create', () => {
|
|
it('should create a new kue job');
|
|
});
|
|
|
|
describe('#scrape', () => {
|
|
it('should scrape complete information');
|
|
it('should scrape what it can');
|
|
});
|
|
|
|
describe('#update', () => {
|
|
it('should update the database record entries from the meta');
|
|
});
|
|
|
|
describe('#process', () => {
|
|
it('should start the processor to scrape assets');
|
|
});
|
|
|
|
describe('#shutdown', () => {
|
|
it('should shutdown the job processor');
|
|
});
|
|
});
|