Skip to content
This repository has been archived by the owner on Dec 15, 2020. It is now read-only.

Commit

Permalink
Get tests running on Circle CI again
Browse files Browse the repository at this point in the history
Summary: Circle changed configuration in their V2 iteration. This runs the basic unit tests.

Reviewed By: julian-park

Differential Revision: D14422434

fbshipit-source-id: 5ca376a08188df0929c6c9d5a3f76d02c9d48d04
  • Loading branch information
andrewimm authored and facebook-github-bot committed Mar 19, 2019
1 parent 841e700 commit fe6152f
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 332 deletions.
10 changes: 10 additions & 0 deletions .circleci/config.yml
@@ -0,0 +1,10 @@
version: 2
jobs:
test-unit:
working-directory: ~/react-360
docker:
- image: circleci/node:10
steps:
- checkout
- run: yarn
- run: yarn test
296 changes: 0 additions & 296 deletions React360/js/Renderer/__tests__/RenderRoot-test.js

This file was deleted.

35 changes: 0 additions & 35 deletions circle.yml

This file was deleted.

2 changes: 1 addition & 1 deletion packages/webgl-lite/src/__tests__/Program-test.js
Expand Up @@ -19,7 +19,7 @@ describe('Program', () => {
prog.addShader('more code', 0, ['FOO', 'BAR']);
expect(prog._shaders[1].code).toBe('#define FOO\n#define BAR\nmore code');

prog.addShader('#version es 300\n\nfancy code', 0, ['IMAGE']);
prog.addShader('#version 300 es\n\nfancy code', 0, ['IMAGE']);
expect(prog._shaders[2].code).toBe('#version 300 es\n#define IMAGE\n\nfancy code');
});
});

0 comments on commit fe6152f

Please sign in to comment.