Skip to content

Implement the findLabel function #1

@Nextdrive-CarlosLi

Description

@Nextdrive-CarlosLi

Input was the permission mock data

dummies/mockPermissions.ts

source code

src/findLabel.ts

Expect

  • Input permission code, example code B-1
  • Output permission label, example label B-1

How to verify

please finish findLabel.spec.ts

and yarn test should be passed

finally

Create a pull request to show your solution

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions