project/
├── api
├── cmd
| └── project
├── deployments
├── internal
| ├── app
This file contains hidden or 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
| import { expect } from 'chai'; | |
| import sinon from 'sinon'; | |
| import usecase from '../../../activity/usecase/usecase.js'; | |
| import api_handler from '../../../activity/handler/api_handler.js'; | |
| describe('#activity', () => { | |
| describe('#getActivity', () => { | |
| let stubAllActivity, req, res; | |
| beforeEach(() => { | |
| const activities = [{ |
This file contains hidden or 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
| # Generate ed25519 private key | |
| openssl genpkey -algorithm ed25519 -out private.pem | |
| # Generate ed25519 public key | |
| openssl pkey -in private.pem -pubout -out public.pem |