We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c0d0df commit 7d8077aCopy full SHA for 7d8077a
packages/react-native-builder-bob/src/__tests__/__snapshots__/init.test.ts.snap
@@ -5,7 +5,7 @@ exports[`initializes the configuration 1`] = `
5
"name": "library",
6
"version": "1.0.0",
7
"devDependencies": {
8
- "react-native-builder-bob": "^0.38.1"
+ "react-native-builder-bob": "^0.5.0"
9
},
10
"exports": {
11
".": {
packages/react-native-builder-bob/src/__tests__/init.test.ts
@@ -5,6 +5,11 @@ import { stdin } from 'mock-stdin';
import { join } from 'path';
import { init } from '../init';
+jest.mock('../../package.json', () => ({
+ name: 'react-native-builder-bob',
+ version: '0.5.0',
+}));
12
+
13
let io: ReturnType<typeof stdin> | undefined;
14
15
const root = '/path/to/library';
0 commit comments