Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix(testing): add fallback option to file type validator#15226

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
Yasir-Rafique wants to merge18 commits intonestjs:master
base:master
Choose a base branch
Loading
fromYasir-Rafique:fix/file-type-validator-compatibility
Open
Changes from1 commit
Commits
Show all changes
18 commits
Select commitHold shift + click to select a range
2a29753
fix(testing): add fallback option to file type validator
Yasir-RafiqueJun 3, 2025
aacc931
fix(testing): added unit test for file type validation
Yasir-RafiqueJun 3, 2025
09300c0
fix(e2e): ensure correct file path and log diagnostics
Yasir-RafiqueJun 3, 2025
14e2cbe
fix(e2e): removed path.join
Yasir-RafiqueJun 3, 2025
e9582ee
fix(e2e): removed path.resolve
Yasir-RafiqueJun 4, 2025
14a1f01
fix(testing): removed deep chain to test
Yasir-RafiqueJun 4, 2025
01deba8
fix(testing): removed custom test cases
Yasir-RafiqueJun 4, 2025
5a3fecb
Merge remote-tracking branch 'upstream/master' into fix/file-type-val…
Yasir-RafiqueJun 4, 2025
7460596
fix: regenerate package-lock.json after merge conflict
Yasir-RafiqueJun 4, 2025
3605e79
fix: downgrade type/node to resolve conflict
Yasir-RafiqueJun 4, 2025
957d707
Merge remote-tracking branch 'upstream/master' into fix/file-type-val…
Yasir-RafiqueJun 4, 2025
bb7cdb0
chore: remove accidental redis dependency
Yasir-RafiqueJul 1, 2025
34efb2c
Merge remote-tracking branch 'upstream/master' into fix/file-type-val…
Yasir-RafiqueJul 1, 2025
bf22e9e
fix(lint): resolve prettier formatting issue
Yasir-RafiqueJul 1, 2025
90497bd
fix: resolved package.json conflict with upstream/master
Yasir-RafiqueJul 1, 2025
feb2a92
fix(core): Ensure compatibility with latest NestJS core
Yasir-RafiqueJul 1, 2025
229ea41
Merge branch 'fix/file-type-validator-compatibility' of https://githu…
Yasir-RafiqueJul 1, 2025
0b904b8
chore(inspector): regenerate post-initialization graph snapshot
Yasir-RafiqueJul 11, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
fix(e2e): removed path.join
  • Loading branch information
@Yasir-Rafique
Yasir-Rafique committedJun 3, 2025
commit14e2cbef780d6d32d7e81040f43845fcaeb8bea7
5 changes: 1 addition & 4 deletionssample/29-file-upload/e2e/app/app.e2e-spec.ts
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -7,10 +7,7 @@ import { AppModule } from '../../src/app.module';
import fs from 'fs';
import path from 'path';

const filePath = path.join(__dirname, '../../resources/nestjs.jpg');
console.log('Checking file exists:', fs.existsSync(filePath));

const imagePath = path.resolve(__dirname, '../../resources/nestjs.jpg');
const imagePath = path?.resolve(__dirname, '../../resources/nestjs.jpg');
console.log('imagePath', imagePath);

describe('E2E FileTest', () => {
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp