mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
Align __test_fixtures__ to __fixtures__ (#50785)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/50785 Enables us to simplify exclude patterns in `package.json#files`. Changelog: [Internal] Reviewed By: cortinico Differential Revision: D73185320 fbshipit-source-id: 40219a0e440740bec35876fff6e37e4bf4fe9ddc
This commit is contained in:
1 parent
d1cf58484d
commit
09187491a6
8 files changed
+5
-6
No files matched your search
@@ -101,7 +101,6 @@
|
||||
"!**/__fixtures__/**",
|
||||
"!**/__flowtests__/**",
|
||||
"!**/__mocks__/**",
|
||||
"!**/__test_fixtures__/**",
|
||||
"!**/__tests__/**",
|
||||
"!**/__typetests__/**"
|
||||
],
|
||||
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+4
-4
@@ -10,7 +10,7 @@
|
||||
|
||||
'use strict';
|
||||
|
||||
const fixtures = require('../__test_fixtures__/fixtures');
|
||||
const fixtures = require('../__fixtures__/fixtures');
|
||||
const {execute} = require('../generate-artifacts-executor');
|
||||
const {
|
||||
extractSupportedApplePlatforms,
|
||||
@@ -29,7 +29,7 @@ const packageJson = JSON.stringify({
|
||||
});
|
||||
|
||||
describe('execute', () => {
|
||||
const appDir = path.join(__dirname, '../__test_fixtures__/test-app');
|
||||
const appDir = path.join(__dirname, '../__fixtures__/test-app');
|
||||
const outputDir = path.join(appDir, 'temp');
|
||||
|
||||
beforeAll(() => {
|
||||
@@ -136,7 +136,7 @@ describe('extractSupportedApplePlatforms', () => {
|
||||
const myDependency = 'test-library';
|
||||
const myDependencyPath = path.join(
|
||||
__dirname,
|
||||
`../__test_fixtures__/${myDependency}`,
|
||||
`../__fixtures__/${myDependency}`,
|
||||
);
|
||||
let platforms = extractSupportedApplePlatforms(
|
||||
myDependency,
|
||||
@@ -154,7 +154,7 @@ describe('extractSupportedApplePlatforms', () => {
|
||||
const myDependency = 'test-library-2';
|
||||
const myDependencyPath = path.join(
|
||||
__dirname,
|
||||
`../__test_fixtures__/${myDependency}`,
|
||||
`../__fixtures__/${myDependency}`,
|
||||
);
|
||||
let platforms = extractSupportedApplePlatforms(
|
||||
myDependency,
|
||||
|
||||
+1
-1
@@ -10,7 +10,7 @@
|
||||
|
||||
'use strict';
|
||||
|
||||
const fixtures = require('../__test_fixtures__/fixtures');
|
||||
const fixtures = require('../__fixtures__/fixtures');
|
||||
const sut = require('../generate-specs-cli-executor');
|
||||
const {normalize} = require('path');
|
||||
|
||||
|
||||
Reference in new issue
Block a user