HomePhabricator
Diffusion Comm 150bfc4697a1

[lib] Update minimally-encoded-thread-permissions.test.js to include…

Description

[lib] Update minimally-encoded-thread-permissions.test.js to include specialRole field

Summary:
There are some places in the codebase that we hardcode isDefault. Here, we'll want to introduce the specialRole field alongside, so when we deprecate isDefault, no additional changes will be needed. Some are important (like one instance in thread-utils.js and the instance in role-creator.js where we set up initial roles for threads), and others are just test data. Nonetheless, I thought I may as well update all of them for consistency.

Part of ENG-5993

This diff handles minimally-encoded-thread-permissions.test.js

Depends on D10110

Test Plan: Ran yarn workspace lib test to make sure unit tests still passed

Reviewers: ginsu, tomek, rohan

Reviewed By: tomek

Subscribers: ashoat

Differential Revision: https://phab.comm.dev/D10111

Details