chore: add package.json for simple web app with express dependency

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
Gabriel20xxandCopilot committed 2026-05-02 14:52:02 +02:00
commit 3c856ea9d4
641 files changed
+74907

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
'use strict';
var inspect = require('../');
var test = require('tape');
var mockProperty = require('mock-property');
test('when Object#hasOwnProperty is deleted', function (t) {
t.plan(1);
var arr = [1, , 3]; // eslint-disable-line no-sparse-arrays
t.teardown(mockProperty(Array.prototype, 1, { value: 2 })); // this is needed to account for "in" vs "hasOwnProperty"
t.teardown(mockProperty(Object.prototype, 'hasOwnProperty', { 'delete': true }));
t.equal(inspect(arr), '[ 1, , 3 ]');
});