mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-10 20:35:02 +00:00
refactor: convert /shared to ESM
This commit is contained in:
parent
805234acc1
commit
1f0a01f15f
3 changed files with 7 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
import test from "ava";
|
||||
import { ApiPermissions, hasPermission } from "./apiPermissions";
|
||||
import { ApiPermissions, hasPermission } from "./apiPermissions.js";
|
||||
|
||||
test("Directly granted permissions match", (t) => {
|
||||
t.is(hasPermission(new Set([ApiPermissions.ManageAccess]), ApiPermissions.ManageAccess), true);
|
||||
|
|
|
@ -1 +1 @@
|
|||
export * from "./apiPermissions";
|
||||
export * from "./apiPermissions.js";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue