✨ Features: - App iOS completa para leer manga sin publicidad - Scraper con WKWebView para manhwaweb.com - Sistema de descargas offline - Lector con zoom y navegación - Favoritos y progreso de lectura - Compatible con iOS 15+ y Sideloadly/3uTools 📦 Contenido: - Backend Node.js con Puppeteer (opcional) - App iOS con SwiftUI - Scraper de capítulos e imágenes - Sistema de almacenamiento local - Testing completo - Documentación exhaustiva 🧪 Prueba: Capítulo 789 de One Piece descargado exitosamente - 21 páginas descargadas - 4.68 MB total - URLs verificadas y funcionales 🎉 Generated with Claude Code (https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
37 lines
656 B
JavaScript
37 lines
656 B
JavaScript
'use strict';
|
|
|
|
var test = require('tape');
|
|
var gOPD = require('../');
|
|
|
|
test('gOPD', function (t) {
|
|
t.test('supported', { skip: !gOPD }, function (st) {
|
|
st.equal(typeof gOPD, 'function', 'is a function');
|
|
|
|
var obj = { x: 1 };
|
|
st.ok('x' in obj, 'property exists');
|
|
|
|
// @ts-expect-error TS can't figure out narrowing from `skip`
|
|
var desc = gOPD(obj, 'x');
|
|
st.deepEqual(
|
|
desc,
|
|
{
|
|
configurable: true,
|
|
enumerable: true,
|
|
value: 1,
|
|
writable: true
|
|
},
|
|
'descriptor is as expected'
|
|
);
|
|
|
|
st.end();
|
|
});
|
|
|
|
t.test('not supported', { skip: !!gOPD }, function (st) {
|
|
st.notOk(gOPD, 'is falsy');
|
|
|
|
st.end();
|
|
});
|
|
|
|
t.end();
|
|
});
|