From 291803c31f829fe0d32bb3207bc11def95a7408c Mon Sep 17 00:00:00 2001 From: Nevena Bojovic Date: Tue, 1 Mar 2022 20:05:50 +0100 Subject: Urađena test aplikacija. Povezan front i back. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sandbox/testAppNevena/Front/node_modules/has/test/index.js | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 sandbox/testAppNevena/Front/node_modules/has/test/index.js (limited to 'sandbox/testAppNevena/Front/node_modules/has/test/index.js') diff --git a/sandbox/testAppNevena/Front/node_modules/has/test/index.js b/sandbox/testAppNevena/Front/node_modules/has/test/index.js new file mode 100644 index 00000000..43d480b2 --- /dev/null +++ b/sandbox/testAppNevena/Front/node_modules/has/test/index.js @@ -0,0 +1,10 @@ +'use strict'; + +var test = require('tape'); +var has = require('../'); + +test('has', function (t) { + t.equal(has({}, 'hasOwnProperty'), false, 'object literal does not have own property "hasOwnProperty"'); + t.equal(has(Object.prototype, 'hasOwnProperty'), true, 'Object.prototype has own property "hasOwnProperty"'); + t.end(); +}); -- cgit v1.2.3