Skip to content

Commit

Permalink
Separate changesets
Browse files Browse the repository at this point in the history
Signed-off-by: Joon Park <joonp@spotify.com>
  • Loading branch information
Joonpark13 committed Dec 17, 2021
1 parent 366ca3e commit 2f8a9b6
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 10 deletions.
5 changes: 5 additions & 0 deletions .changeset/lazy-files-check.md
@@ -0,0 +1,5 @@
---
'@backstage/backend-common': minor
---

Generate backend-to-backend secret for dev mode
8 changes: 0 additions & 8 deletions .changeset/sharp-peaches-begin.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/wet-bikes-pull.md
@@ -0,0 +1,5 @@
---
'@backstage/plugin-permission-node': patch
---

Add ServerPermissionClient to check for backend-to-backend tokens
4 changes: 2 additions & 2 deletions packages/backend-common/src/tokens/ServerTokenManager.test.ts
Expand Up @@ -153,7 +153,7 @@ describe('ServerTokenManager', () => {
});

describe('default', () => {
describe('NOVE_ENV === production', () => {
describe('NODE_ENV === production', () => {
it('should throw if backend auth configuration is missing', () => {
expect(() =>
ServerTokenManager.default({ config: emptyConfig, logger }),
Expand Down Expand Up @@ -187,7 +187,7 @@ describe('ServerTokenManager', () => {
});
});

describe('NOVE_ENV === development', () => {
describe('NODE_ENV === development', () => {
const generateSyncSpy = jest.spyOn(JWK, 'generateSync');

beforeEach(() => {
Expand Down

0 comments on commit 2f8a9b6

Please sign in to comment.