Skip to content

Commit 7b5fec0

Browse files
Merge pull request #47 from stormikph/treetesting
Icon update + johns revert to main
2 parents 010edc9 + 138d229 commit 7b5fec0

File tree

13 files changed

+11
-6
lines changed

13 files changed

+11
-6
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<p align="center">
2-
<img width="50" src="https://github.com/team-reactype/ReacType/blob/master/app/src/public/icons/png/256x256.png?raw=true">
2+
<img width="50" src="url('./app/src/public/icons/png/256x256.png)">
33
<h1 align="center">ReacType </h1>
44
</p>
55

@@ -109,20 +109,26 @@ npm run dev
109109
- Please note that the development build is not connected to the production server. `npm run dev` should spin up the development server from the server folder of this repo. For additional information, the readme is [here](https://github.com/open-source-labs/ReacType/blob/master/server/README.md). Alternatively, you can also select "Continue as guest" on the log-in page of the app to not use any features that rely on the server (authentication and saving project data.)
110110

111111
## To Run Your Exported Next.js Project
112+
112113
- Open exported project directory
113114
- Install dependencies
114115

115116
```bash
116117
npm install
117118
```
119+
118120
- Build the app
121+
119122
```bash
120123
npm run build
121124
```
125+
122126
- Start an instance
127+
123128
```bash
124129
npm run start
125130
```
131+
126132
- Open browser and navigate to localhost at specified port
127133

128134
## License

__tests__/tree.test.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,8 @@ function Test() {
108108
test('Test the tree functionality', function () {
109109
render(<Test/>);
110110

111-
screen.getByText('index');
112-
screen.getByText('A');
113-
// screen.getByText('B');
111+
expect(screen.getByText('index')).toBeInTheDocument();
112+
expect(screen.getByText('A')).toBeInTheDocument();
113+
expect(screen.getByText('B')).toBeInTheDocument();
114114

115115
})

app/src/public/icons/png/128x128.png

428 Bytes
Loading

app/src/public/icons/png/16x16.png

-389 Bytes
Loading

app/src/public/icons/png/24x24.png

-691 Bytes
Loading

app/src/public/icons/png/256x256.png

11.4 KB
Loading

app/src/public/icons/png/32x32.png

-1.12 KB
Loading

app/src/public/icons/png/48x48.png

-1.62 KB
Loading

app/src/public/icons/png/512x512.png

86.5 KB
Loading

app/src/public/icons/png/64x64.png

-1.44 KB
Loading

app/src/public/icons/png/96x96.png

-1.08 KB
Loading

app/src/public/icons/win/icon.ico

92.4 KB
Binary file not shown.

app/src/tree/TreeChart.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,7 @@ function TreeChart({ data }) {
8181
if (data !== previouslyRenderedData) {
8282
enteringAndUpdatingLinks
8383
.attr('stroke-dashoffset', function() {
84-
85-
return this.getTotalLength();
84+
return this.length;
8685
})
8786
.attr('stroke-dashoffset', 0);
8887
}

0 commit comments

Comments
 (0)