UNPKG

aclatraz

Version:

Simple dependency-free package for ACL. It can handle hundreds of roles easily.

12 lines (11 loc) 409 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const constants_1 = require("./constants"); describe('Check ACL constants', () => { test('Permission granted bit should be 1', () => { expect(constants_1.ACL_PERMISSION_GRANTED).toBe(1); }); test('Permission denied bit should be 0', () => { expect(constants_1.ACL_PERMISSION_DENIED).toBe(0); }); });