Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 18.218.60.55
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
unp-musonza /
node_modules /
loglevel /
test /
Delete
Unzip
Name
Size
Permission
Date
Action
vendor
[ DIR ]
drwxr-xr-x
2021-02-04 21:24
.jshintrc
618
B
-rw-r--r--
2015-07-28 17:02
console-fallback-test.js
3.28
KB
-rw-r--r--
2013-10-09 23:07
cookie-test.js
4.17
KB
-rw-r--r--
2013-09-18 19:23
default-level-test.js
1.88
KB
-rw-r--r--
2015-07-28 17:02
get-current-level-test.js
1.49
KB
-rw-r--r--
2015-07-28 17:02
global-integration-with-new-context.js
1016
B
-rw-r--r--
2017-05-07 15:34
global-integration.js
710
B
-rw-r--r--
2017-09-11 21:32
integration-smoke-test.js
2.35
KB
-rw-r--r--
2017-09-11 22:00
level-setting-test.js
9.14
KB
-rw-r--r--
2017-09-11 22:00
local-storage-test.js
6.99
KB
-rw-r--r--
2015-07-28 17:02
manual-test.html
153
B
-rw-r--r--
2013-09-18 19:56
method-factory-test.js
1.75
KB
-rw-r--r--
2016-08-08 16:41
multiple-logger-test.js
5.65
KB
-rw-r--r--
2017-12-15 12:59
node-integration.js
818
B
-rw-r--r--
2013-09-22 01:12
test-context-using-apply.js
142
B
-rw-r--r--
2017-05-07 15:34
test-helpers.js
5.12
KB
-rw-r--r--
2017-05-07 15:37
test-qunit.html
554
B
-rw-r--r--
2014-06-10 22:16
test-qunit.js
1.84
KB
-rw-r--r--
2015-07-28 17:02
Save
Rename
"use strict"; define(['test/test-helpers'], function(testHelpers) { var describeIf = testHelpers.describeIf; var it = testHelpers.itWithFreshLog; var originalConsole = window.console; var originalDocument = window.document; describeIf(testHelpers.isCookieStorageAvailable() && !testHelpers.isLocalStorageAvailable(), "Cookie-only persistence tests:", function() { beforeEach(function() { window.console = {"log" : jasmine.createSpy("console.log")}; this.addMatchers({ "toBeAtLevel" : testHelpers.toBeAtLevel, "toBeTheStoredLevel" : testHelpers.toBeTheLevelStoredByCookie }); }); afterEach(function() { window.console = originalConsole; }); describe("If no level is saved", function() { beforeEach(function() { testHelpers.clearStoredLevels(); }); it("log level is set to warn by default", function(log) { expect(log).toBeAtLevel("warn"); }); it("warn is persisted as the current level", function(log) { expect("warn").toBeTheStoredLevel(); }); it("log can be set to info level", function(log) { log.setLevel("info"); expect(log).toBeAtLevel("info"); }); it("log.setLevel() sets a cookie with the given level", function(log) { log.setLevel("debug"); expect("debug").toBeTheStoredLevel(); }); }); describe("If info level is saved", function() { beforeEach(function() { testHelpers.setStoredLevel("info"); }); it("info is the default log level", function(log) { expect(log).toBeAtLevel("info"); }); it("log can be changed to warn level", function(log) { log.setLevel("warn"); expect(log).toBeAtLevel("warn"); }); it("log.setLevel() overwrites the saved level", function(log) { log.setLevel("error"); expect("error").toBeTheStoredLevel(); expect("info").not.toBeTheStoredLevel(); }); }); describe("If the level is saved with other data", function() { beforeEach(function() { window.document.cookie = "qwe=asd"; window.document.cookie = "loglevel=ERROR"; window.document.cookie = "msg=hello world"; }); it("error is the default log level", function(log) { expect(log).toBeAtLevel("error"); }); it("log can be changed to silent level", function(log) { log.setLevel("silent"); expect(log).toBeAtLevel("silent"); }); it("log.setLevel() overrides the saved level only", function(log) { log.setLevel("debug"); expect('debug').toBeTheStoredLevel(); expect(window.document.cookie).toContain("msg=hello world"); }); }); describe("If the level cookie is set incorrectly", function() { beforeEach(function() { testHelpers.setCookieStoredLevel('gibberish'); }); it("warn is the default log level", function(log) { expect(log).toBeAtLevel("warn"); }); it("warn is persisted as the current level, overriding the invalid cookie", function(log) { expect("warn").toBeTheStoredLevel(); }); it("log can be changed to info level", function(log) { log.setLevel("info"); expect(log).toBeAtLevel("info"); }); it("log.setLevel() overrides the saved level with the new level", function(log) { expect('debug').not.toBeTheStoredLevel(); log.setLevel("debug"); expect('debug').toBeTheStoredLevel(); }); }); }); });