-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d24d979
commit df5dab1
Showing
5 changed files
with
58 additions
and
19 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
src/server/src/api/v1/schema-sql/summary/summary_media_view.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/server/src/api/v1/schema-sql/summary/summary_sentiment_view.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/server/src/api/v1/schema-sql/summary/summary_translation_view.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import 'dotenv/config'; | ||
|
||
import { | ||
describe, | ||
expect, | ||
jest, | ||
test, | ||
} from '@jest/globals'; | ||
|
||
import { DBService, S3Service } from '../src/services'; | ||
import { Publisher } from '../src/api/v1/schema'; | ||
|
||
jest.setTimeout(30_000); | ||
|
||
describe('publisher', () => { | ||
|
||
test('sample', async () => { | ||
await DBService.prepare(); | ||
await Publisher.prepare(); | ||
const publishers = await Publisher.findAll(); | ||
for (const publisher of publishers) { | ||
const icon = await S3Service.download(publisher.icon); | ||
console.log(icon); | ||
} | ||
}); | ||
|
||
}); |