Skip to content

Commit a7638d6

Browse files
authored
Merge pull request #20161 from mozilla/fxa-12611-v2
feat(auth-server): migrate 15 Mocha test files to co-located Jest specs PART 7
2 parents e8358ee + 87c95bb commit a7638d6

46 files changed

Lines changed: 15697 additions & 60 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,7 @@
198198
"@nx/js": "21.2.4",
199199
"@nx/nest": "21.2.4",
200200
"@nx/node": "21.2.4",
201+
"@nx/nx-darwin-arm64": "^22.5.4",
201202
"@nx/react": "21.2.4",
202203
"@nx/s3-cache": "^5.0.0",
203204
"@nx/storybook": "21.2.4",

packages/fxa-auth-server/lib/crypto/password.spec.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
* License, v. 2.0. If a copy of the MPL was not distributed with this
33
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
44

5-
export {};
6-
75
const mockLog = {};
86
const mockConfig = {};
97
const Password = require('./password')(mockLog, mockConfig);

packages/fxa-auth-server/lib/crypto/scrypt.spec.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
* License, v. 2.0. If a copy of the MPL was not distributed with this
33
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
44

5-
export {};
6-
75
const mockConfig = { scrypt: { maxPending: 5 } };
86
const mockLog: { buffer: string[]; warn: (obj: string) => void } = {
97
buffer: [],

0 commit comments

Comments
 (0)