Skip to content

Commit

Permalink
リポストの表示対応 (#291)
Browse files Browse the repository at this point in the history
## Issue

- Github Issue: #279

## 変更内容
- リポストされている旨を表示するように
- リポスト時のデザインの仮組み

## Screenshot (任意)
![image](https://github.com/cuculus-dev/cuculus/assets/68576095/10b9e2a9-d406-42d4-9a8d-3f2adaf4c204)

@coderabbitai: ignore
  • Loading branch information
takecchi committed Feb 14, 2024
1 parent 120e8dd commit 334e92e
Show file tree
Hide file tree
Showing 10 changed files with 452 additions and 97 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/tsc.yaml → .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,6 @@ jobs:

- name: TSC
run: tsc

- name: Test
run: npm run test
22 changes: 22 additions & 0 deletions jest.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import nextJest from 'next/jest';

const createJestConfig = nextJest({
dir: './src',
});

const config = createJestConfig({
moduleFileExtensions: ['js', 'json', 'ts'],
rootDir: 'src',
testRegex: '.*\\.spec\\.ts$',
transform: {
'^.+\\.(t|j)s$': 'ts-jest',
},
collectCoverageFrom: ['**/*.(t|j)s'],
testEnvironment: 'node',
moduleNameMapper: {
react: 'next/dist/compiled/react/cjs/react.development.js',
'^@/(.*)$': '<rootDir>/$1',
},
});

export default config;
253 changes: 253 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 334e92e

Please sign in to comment.