Skip to content

Commit

Permalink
test(snackager): update to Expo SDK 47 beta
Browse files Browse the repository at this point in the history
  • Loading branch information
byCedric committed Nov 2, 2022
1 parent 952a8e0 commit 1c66802
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ Object {
"react-native/Libraries/Core/Devtools/symbolicateStackTrace",
"react-native/Libraries/Utilities/PolyfillFunctions",
],
"size": 319155,
"size": 319938,
},
},
"ios": Object {
Expand All @@ -248,7 +248,7 @@ Object {
"react-native/Libraries/Core/Devtools/symbolicateStackTrace",
"react-native/Libraries/Utilities/PolyfillFunctions",
],
"size": 319155,
"size": 319938,
},
},
"web": Object {
Expand All @@ -261,7 +261,7 @@ Object {
"react-native/Libraries/Core/Devtools/symbolicateStackTrace",
"react-native/Libraries/Utilities/PolyfillFunctions",
],
"size": 319155,
"size": 319938,
},
},
},
Expand Down
20 changes: 10 additions & 10 deletions snackager/src/__integration-tests__/__snapshots__/git.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Array [
"type": "CODE",
},
"app.json": Object {
"contents": "{\\"expo\\":{\\"name\\":\\"test1\\",\\"sdkVersion\\":\\"44.0.0\\"}}",
"contents": "{\\"expo\\":{\\"name\\":\\"test1\\",\\"sdkVersion\\":\\"46.0.0\\"}}",
"type": "CODE",
},
},
Expand All @@ -27,7 +27,7 @@ Array [
},
"description": "test1 @ Jan 1, 2020",
"name": "test1",
"sdkVersion": "44.0.0",
"sdkVersion": "46.0.0",
},
},
"headers": Object {
Expand All @@ -49,7 +49,7 @@ Array [
"type": "CODE",
},
"app.json": Object {
"contents": "{\\"expo\\":{\\"name\\":\\"test1\\",\\"sdkVersion\\":\\"44.0.0\\"}}",
"contents": "{\\"expo\\":{\\"name\\":\\"test1\\",\\"sdkVersion\\":\\"46.0.0\\"}}",
"type": "CODE",
},
},
Expand All @@ -65,7 +65,7 @@ Array [
},
"description": "test1 @ Jan 1, 2020",
"name": "test1",
"sdkVersion": "44.0.0",
"sdkVersion": "46.0.0",
},
},
"headers": Object {
Expand All @@ -87,7 +87,7 @@ Array [
"type": "CODE",
},
"app.config.js": Object {
"contents": "export default {\\"name\\":\\"some-example\\",\\"sdkVersion\\":\\"44.0.0\\"};",
"contents": "export default {\\"name\\":\\"some-example\\",\\"sdkVersion\\":\\"46.0.0\\"};",
"type": "CODE",
},
},
Expand All @@ -103,7 +103,7 @@ Array [
},
"description": "some-example @ Jan 1, 2020",
"name": "some-example",
"sdkVersion": "44.0.0",
"sdkVersion": "46.0.0",
},
},
"headers": Object {
Expand All @@ -127,7 +127,7 @@ Array [
"type": "CODE",
},
"app.json": Object {
"contents": "{\\"expo\\":{\\"name\\":\\"some-example\\",\\"sdkVersion\\":\\"44.0.0\\"}}",
"contents": "{\\"expo\\":{\\"name\\":\\"some-example\\",\\"sdkVersion\\":\\"46.0.0\\"}}",
"type": "CODE",
},
"assets/image.png": Object {
Expand All @@ -147,7 +147,7 @@ Array [
},
"description": "some-example @ Jan 1, 2020",
"name": "some-example",
"sdkVersion": "44.0.0",
"sdkVersion": "46.0.0",
},
},
"headers": Object {
Expand All @@ -169,7 +169,7 @@ Array [
"type": "CODE",
},
"app.json": Object {
"contents": "{\\"expo\\":{\\"name\\":\\"test1\\",\\"sdkVersion\\":\\"44.0.0\\"}}",
"contents": "{\\"expo\\":{\\"name\\":\\"test1\\",\\"sdkVersion\\":\\"46.0.0\\"}}",
"type": "CODE",
},
},
Expand All @@ -185,7 +185,7 @@ Array [
},
"description": "test1@feature-a @ Jan 1, 2020",
"name": "test1@feature-a",
"sdkVersion": "44.0.0",
"sdkVersion": "46.0.0",
},
},
"headers": Object {
Expand Down
14 changes: 7 additions & 7 deletions snackager/src/__integration-tests__/git.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ describe('git', () => {
it('imports basic repository', async () => {
const repoPath = await createRepo({
name: 'test1',
sdkVersion: '44.0.0',
sdkVersion: '46.0.0',
});
const id = await importAsync({
repo: repoPath,
Expand Down Expand Up @@ -91,7 +91,7 @@ describe('git', () => {
it('imports repository without app.json', async () => {
const repoPath = await createRepo({
name: 'some-example',
sdkVersion: '44.0.0',
sdkVersion: '46.0.0',
appConfig: 'none',
});
const id = await importAsync({
Expand All @@ -106,7 +106,7 @@ describe('git', () => {
it('imports repository with app.config.js', async () => {
const repoPath = await createRepo({
name: 'some-example',
sdkVersion: '44.0.0',
sdkVersion: '46.0.0',
appConfig: 'app.config.js',
});
const id = await importAsync({
Expand All @@ -121,7 +121,7 @@ describe('git', () => {
it('imports repository with assets', async () => {
const repoPath = await createRepo({
name: 'some-example',
sdkVersion: '44.0.0',
sdkVersion: '46.0.0',
extraFiles: {
'assets/image.png': {
type: 'ASSET',
Expand All @@ -142,7 +142,7 @@ describe('git', () => {
it('imports repository created with main branch', async () => {
const repoPath = await createRepo({
name: 'test1',
sdkVersion: '44.0.0',
sdkVersion: '46.0.0',
branch: 'main',
});
const id = await importAsync({
Expand All @@ -157,7 +157,7 @@ describe('git', () => {
it('imports repository with custom branch', async () => {
const repoPath = await createRepo({
name: 'test1',
sdkVersion: '44.0.0',
sdkVersion: '46.0.0',
branch: 'feature-a',
});
const id = await importAsync({
Expand All @@ -173,7 +173,7 @@ describe('git', () => {
it('fails to import repository with wrong branch', async () => {
const repoPath = await createRepo({
name: 'test1',
sdkVersion: '44.0.0',
sdkVersion: '46.0.0',
branch: 'feature-a',
});
expect(
Expand Down

0 comments on commit 1c66802

Please sign in to comment.