Skip to content

Commit

Permalink
Test some failures
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr0grog committed Jan 12, 2024
1 parent 6283701 commit 2240078
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ declare namespace log {
* back to cookies if not. If neither is available in the current environment (i.e. in Node), or if you pass
* false as the optional 'persist' second argument, persistence will be skipped.
*/
setLevel(level: LogLevelDesc, persist?: boolean): void;
setLevell(level: LogLevelDesc, persist?: boolean): void;

/**
* Returns the current logging level, as a value from LogLevel.
Expand Down
2 changes: 1 addition & 1 deletion test/default-level-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ define(['test/test-helpers'], function(testHelpers) {

it("new level is always set", function(log) {
log.setDefaultLevel("trace");
expect(log).toBeAtLevel("trace");
expect(log).toBeAtLevel("info");
});

it("level is not persisted", function(log) {
Expand Down

0 comments on commit 2240078

Please sign in to comment.