Git Komut Rehberi & Terminal Asistanı
Sıfırdan Yeni Bir Depo Başlatın:
Mevcut Bir Git Deposu veya Klasörü Gönderin:
Hataları Geri Alma, İptal & Temizlik:
Son commit'i geri al (yapılan değişiklikleri korur):
git reset --soft HEAD~1
Yapılan yerel değişiklikleri iptal et (çalışma ağacını temizler):
git restore .
Takip edilmeyen gereksiz dosyaları sil:
git clean -fd
Değişiklikleri geçici sakla ve geri getir (stash):
git stash git stash pop
Dal (Branch) ve Sürüm Etiketleri:
Yeni dal aç ve geçiş yap:
git checkout -b yeni-ozellik git push -u origin yeni-ozellik
Sürüm etiketi (tag) oluştur ve gönder:
git tag -a v1.0.0 -m "Sürüm 1.0.0" git push origin --tags
feat: SnapCAD Studio'yu YakHub deposuna taşı
- DWG/DXF içe aktarma ve .skf yeniden açma düzeltmeleri - YakNet Bulut eşitlemede boş/eski kopya koruması ve yerel-only proje bildirimi - Panelden içe aktarma duyuruları ve erişilebilir Türkçe hata mesajları - AGPL-3.0 lisansı, README ve YakHub bağlantıları
This commit is contained in:
@@ -2,12 +2,18 @@ import { describe, expect, it } from "vitest";
|
||||
import { importExtensionSupported } from "@/lib/importExtensions";
|
||||
|
||||
describe("importExtensionSupported", () => {
|
||||
it("accepts STL, OBJ, and SVG imports", () => {
|
||||
it("accepts STL, OBJ, SVG, DXF, and GLB imports", () => {
|
||||
expect(importExtensionSupported("part.stl")).toBe(true);
|
||||
expect(importExtensionSupported("assembly.obj")).toBe(true);
|
||||
expect(importExtensionSupported("MODEL.OBJ")).toBe(true);
|
||||
expect(importExtensionSupported("logo.svg")).toBe(true);
|
||||
expect(importExtensionSupported("profile.SVG")).toBe(true);
|
||||
expect(importExtensionSupported("drawing.dxf")).toBe(true);
|
||||
expect(importExtensionSupported("CAD.DXF")).toBe(true);
|
||||
expect(importExtensionSupported("scene.glb")).toBe(true);
|
||||
expect(importExtensionSupported("mesh.gltf")).toBe(true);
|
||||
expect(importExtensionSupported("floorplan.dwg")).toBe(true);
|
||||
expect(importExtensionSupported("AUTOCAD.DWG")).toBe(true);
|
||||
});
|
||||
|
||||
it("rejects unsupported dashboard import extensions", () => {
|
||||
|
||||
Reference in New Issue
Block a user