Skip to content

Commit

Permalink
Release (#1484)
Browse files Browse the repository at this point in the history
* fix: remove redundant data-id on HTML (#1479)

* fix: remove redundant data-id on HTML

* chore: commit changeset

* fix: use user-defined id in HTML #1184 (#1483)

* chore: commit changeset

* chore(release): bump version (#1480)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored Aug 14, 2023
1 parent 801a998 commit 28753a8
Show file tree
Hide file tree
Showing 66 changed files with 320 additions and 176 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@ name: 🚀 Test

on: [pull_request]

concurrency:
group: ${{github.workflow}}-${{github.event_name}}-${{github.ref}}
cancel-in-progress: true

jobs:
test:
name: Test
Expand Down
4 changes: 3 additions & 1 deletion __tests__/integration/__node__tests__/svg/circle.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,9 @@ describe('Render <Circle> with g-svg', () => {

// fs.writeFileSync(
// __dirname + RESULT_IMAGE,
// xmlserializer.serializeToString(dom.window.document.getElementById('container').children[0]),
// xmlserializer.serializeToString(
// dom.window.document.getElementById('container').children[0],
// ),
// );

const snapshot = fs.readFileSync(
Expand Down
4 changes: 3 additions & 1 deletion __tests__/integration/__node__tests__/svg/clippath.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,9 @@ describe('Render ClipPath with g-svg', () => {

// fs.writeFileSync(
// __dirname + RESULT_IMAGE,
// xmlserializer.serializeToString(dom.window.document.getElementById('container').children[0]),
// xmlserializer.serializeToString(
// dom.window.document.getElementById('container').children[0],
// ),
// );

const snapshot = fs.readFileSync(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,9 @@ describe('Render <CustomElement> with g-svg', () => {

// fs.writeFileSync(
// __dirname + RESULT_IMAGE,
// xmlserializer.serializeToString(dom.window.document.getElementById('container').children[0]),
// xmlserializer.serializeToString(
// dom.window.document.getElementById('container').children[0],
// ),
// );

const snapshot = fs.readFileSync(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,9 @@ describe('Render D3 barchart with g-svg', () => {

// fs.writeFileSync(
// __dirname + RESULT_IMAGE,
// xmlserializer.serializeToString(dom.window.document.getElementById('container').children[0]),
// xmlserializer.serializeToString(
// dom.window.document.getElementById('container').children[0],
// ),
// );

const snapshot = fs.readFileSync(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,9 @@ describe('Render D3 linechart with g-svg', () => {

// fs.writeFileSync(
// __dirname + RESULT_IMAGE,
// xmlserializer.serializeToString(dom.window.document.getElementById('container').children[0]),
// xmlserializer.serializeToString(
// dom.window.document.getElementById('container').children[0],
// ),
// );

const snapshot = fs.readFileSync(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,9 @@ describe('Render D3 scatterchart with g-svg', () => {

// fs.writeFileSync(
// __dirname + RESULT_IMAGE,
// xmlserializer.serializeToString(dom.window.document.getElementById('container').children[0]),
// xmlserializer.serializeToString(
// dom.window.document.getElementById('container').children[0],
// ),
// );

const snapshot = fs.readFileSync(
Expand Down
4 changes: 3 additions & 1 deletion __tests__/integration/__node__tests__/svg/ellipse.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,9 @@ describe('Render <Ellipse> with g-svg', () => {

// fs.writeFileSync(
// __dirname + RESULT_IMAGE,
// xmlserializer.serializeToString(dom.window.document.getElementById('container').children[0]),
// xmlserializer.serializeToString(
// dom.window.document.getElementById('container').children[0],
// ),
// );

const snapshot = fs.readFileSync(
Expand Down
4 changes: 3 additions & 1 deletion __tests__/integration/__node__tests__/svg/filter.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,9 @@ describe('Render filters with g-svg', () => {

// fs.writeFileSync(
// __dirname + RESULT_IMAGE,
// xmlserializer.serializeToString(dom.window.document.getElementById('container').children[0]),
// xmlserializer.serializeToString(
// dom.window.document.getElementById('container').children[0],
// ),
// );

const snapshot = fs.readFileSync(
Expand Down
4 changes: 3 additions & 1 deletion __tests__/integration/__node__tests__/svg/line.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,9 @@ describe('Render <Line> with g-svg', () => {

// fs.writeFileSync(
// __dirname + RESULT_IMAGE,
// xmlserializer.serializeToString(dom.window.document.getElementById('container').children[0]),
// xmlserializer.serializeToString(
// dom.window.document.getElementById('container').children[0],
// ),
// );

const snapshot = fs.readFileSync(
Expand Down
4 changes: 3 additions & 1 deletion __tests__/integration/__node__tests__/svg/marker.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,9 @@ describe('Render marker with g-svg', () => {

// fs.writeFileSync(
// __dirname + RESULT_IMAGE,
// xmlserializer.serializeToString(dom.window.document.getElementById('container').children[0]),
// xmlserializer.serializeToString(
// dom.window.document.getElementById('container').children[0],
// ),
// );

const snapshot = fs.readFileSync(
Expand Down
4 changes: 3 additions & 1 deletion __tests__/integration/__node__tests__/svg/path.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,9 @@ describe('Render <Path> with g-svg', () => {

// fs.writeFileSync(
// __dirname + RESULT_IMAGE,
// xmlserializer.serializeToString(dom.window.document.getElementById('container').children[0]),
// xmlserializer.serializeToString(
// dom.window.document.getElementById('container').children[0],
// ),
// );

const snapshot = fs.readFileSync(
Expand Down
4 changes: 3 additions & 1 deletion __tests__/integration/__node__tests__/svg/polygon.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,9 @@ describe('Render <Polygon> with g-svg', () => {

// fs.writeFileSync(
// __dirname + RESULT_IMAGE,
// xmlserializer.serializeToString(dom.window.document.getElementById('container').children[0]),
// xmlserializer.serializeToString(
// dom.window.document.getElementById('container').children[0],
// ),
// );

const snapshot = fs.readFileSync(
Expand Down
4 changes: 3 additions & 1 deletion __tests__/integration/__node__tests__/svg/polyline.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,9 @@ describe('Render <Polyline> with g-svg', () => {

// fs.writeFileSync(
// __dirname + RESULT_IMAGE,
// xmlserializer.serializeToString(dom.window.document.getElementById('container').children[0]),
// xmlserializer.serializeToString(
// dom.window.document.getElementById('container').children[0],
// ),
// );

const snapshot = fs.readFileSync(
Expand Down
4 changes: 3 additions & 1 deletion __tests__/integration/__node__tests__/svg/rect.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,9 @@ describe('Render <Rect> with g-svg', () => {

// fs.writeFileSync(
// __dirname + RESULT_IMAGE,
// xmlserializer.serializeToString(dom.window.document.getElementById('container').children[0]),
// xmlserializer.serializeToString(
// dom.window.document.getElementById('container').children[0],
// ),
// );

const snapshot = fs.readFileSync(
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 28753a8

Please sign in to comment.