Skip to content

Commit 1d25eca

Browse files
committed
Sensitive file reducing its uncessary changes
1 parent 687101e commit 1d25eca

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

schema.graphql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
directive @auth on FIELD_DEFINITION
2+
23
directive @role(requires: UserType) on FIELD_DEFINITION
34

45
type ActionItem {

scripts/custom-test-env.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@ import Environment from 'jest-environment-jsdom';
22
import { TextEncoder, TextDecoder } from 'util';
33

44
/**
5-
* A custom environment to set the TextEncoder and TextDecoder variables,
6-
* required for pdfme during testing.
7-
* Providing a polyfill to the environment.
5+
* A custom environment to set the TextEncoder and TextDecoder variables, that is required by @pdfme during testing.
6+
* Providing a polyfill to the environment for the same
87
*/
98

109
export default class CustomTestEnvironment extends Environment {

0 commit comments

Comments
 (0)