Skip to content

Commit

Permalink
fix(react-native): fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
meeroslav committed Nov 28, 2022
1 parent eecda46 commit ee2cce7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions e2e/react-native/src/react-native.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ describe('react native', () => {
let proj: string;

beforeAll(() => (proj = newProject()));
afterAll(() => cleanupProject());
// afterAll(() => cleanupProject());

it('should test, create ios and android JS bundles', async () => {
const appName = uniq('my-app');
Expand Down Expand Up @@ -109,7 +109,7 @@ describe('react native', () => {
).not.toThrow();
});

it('should build publishable library', async () => {
it('should build publishable library MMM', async () => {
const libName = uniq('lib');
const componentName = uniq('component');

Expand All @@ -122,7 +122,7 @@ describe('react native', () => {
expect(() => {
runCLI(`build ${libName}`);
checkFilesExist(`dist/libs/${libName}/index.js`);
checkFilesExist(`dist/libs/${libName}/index.d.ts`);
checkFilesExist(`dist/libs/${libName}/src/index.d.ts`);
}).not.toThrow();
});

Expand Down

0 comments on commit ee2cce7

Please sign in to comment.