Skip to content

Commit

Permalink
tested 7.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lukejpreston committed Jun 21, 2023
1 parent 554264b commit 1e1b13b
Show file tree
Hide file tree
Showing 22 changed files with 50 additions and 141 deletions.
20 changes: 8 additions & 12 deletions index.html

Large diffs are not rendered by default.

48 changes: 24 additions & 24 deletions junit.xml
Original file line number Diff line number Diff line change
@@ -1,49 +1,49 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuites name="jest tests" tests="12" failures="0" errors="0" time="1.371">
<testsuite name="undefined" errors="0" failures="0" skipped="0" timestamp="2023-06-21T08:07:26" time="0.376" tests="1">
<testcase classname=" get suites" name=" get suites" time="0.21">
<testsuites name="jest tests" tests="12" failures="0" errors="0" time="1.48">
<testsuite name="undefined" errors="0" failures="0" skipped="0" timestamp="2023-06-21T10:22:12" time="0.445" tests="1">
<testcase classname=" get suites" name=" get suites" time="0.267">
</testcase>
</testsuite>
<testsuite name="undefined" errors="0" failures="0" skipped="0" timestamp="2023-06-21T08:07:26" time="0.05" tests="1">
<testcase classname=" get description" name=" get description" time="0.005">
<testsuite name="undefined" errors="0" failures="0" skipped="0" timestamp="2023-06-21T10:22:12" time="0.067" tests="1">
<testcase classname=" renders suite" name=" renders suite" time="0.006">
</testcase>
</testsuite>
<testsuite name="undefined" errors="0" failures="0" skipped="0" timestamp="2023-06-21T08:07:26" time="0.059" tests="1">
<testcase classname=" renders suite" name=" renders suite" time="0.006">
<testsuite name="undefined" errors="0" failures="0" skipped="0" timestamp="2023-06-21T10:22:12" time="0.056" tests="1">
<testcase classname=" renders test options" name=" renders test options" time="0.006">
</testcase>
</testsuite>
<testsuite name="undefined" errors="0" failures="0" skipped="0" timestamp="2023-06-21T08:07:26" time="0.052" tests="1">
<testcase classname=" get files" name=" get files" time="0.005">
<testsuite name="undefined" errors="0" failures="0" skipped="0" timestamp="2023-06-21T10:22:12" time="0.055" tests="1">
<testcase classname=" renders properties options" name=" renders properties options" time="0.005">
</testcase>
</testsuite>
<testsuite name="undefined" errors="0" failures="0" skipped="0" timestamp="2023-06-21T08:07:26" time="0.053" tests="2">
<testsuite name="undefined" errors="0" failures="0" skipped="0" timestamp="2023-06-21T10:22:12" time="0.054" tests="1">
<testcase classname=" renders suite options" name=" renders suite options" time="0.005">
</testcase>
</testsuite>
<testsuite name="undefined" errors="0" failures="0" skipped="0" timestamp="2023-06-21T10:22:12" time="0.055" tests="2">
<testcase classname=" renders hero" name=" renders hero" time="0.005">
</testcase>
<testcase classname=" renders hero with title and brand" name=" renders hero with title and brand" time="0">
<testcase classname=" renders hero with title and brand" name=" renders hero with title and brand" time="0.001">
</testcase>
</testsuite>
<testsuite name="undefined" errors="0" failures="0" skipped="0" timestamp="2023-06-21T08:07:26" time="0.056" tests="1">
<testcase classname=" renders properties options" name=" renders properties options" time="0.006">
<testsuite name="undefined" errors="0" failures="0" skipped="0" timestamp="2023-06-21T10:22:12" time="0.049" tests="1">
<testcase classname=" get description" name=" get description" time="0.004">
</testcase>
</testsuite>
<testsuite name="undefined" errors="0" failures="0" skipped="0" timestamp="2023-06-21T08:07:26" time="0.053" tests="1">
<testcase classname=" renders test options" name=" renders test options" time="0.005">
<testsuite name="undefined" errors="0" failures="0" skipped="0" timestamp="2023-06-21T10:22:12" time="0.05" tests="1">
<testcase classname=" complete multi suites" name=" complete multi suites" time="0.005">
</testcase>
</testsuite>
<testsuite name="undefined" errors="0" failures="0" skipped="0" timestamp="2023-06-21T08:07:26" time="0.055" tests="1">
<testcase classname=" renders suite options" name=" renders suite options" time="0.005">
<testsuite name="undefined" errors="0" failures="0" skipped="0" timestamp="2023-06-21T10:22:12" time="0.052" tests="1">
<testcase classname=" renders toggle" name=" renders toggle" time="0.005">
</testcase>
</testsuite>
<testsuite name="undefined" errors="0" failures="0" skipped="0" timestamp="2023-06-21T08:07:26" time="0.051" tests="1">
<testsuite name="undefined" errors="0" failures="0" skipped="0" timestamp="2023-06-21T10:22:12" time="0.053" tests="1">
<testcase classname=" renders logo" name=" renders logo" time="0.005">
</testcase>
</testsuite>
<testsuite name="undefined" errors="0" failures="0" skipped="0" timestamp="2023-06-21T08:07:27" time="0.048" tests="1">
<testcase classname=" renders toggle" name=" renders toggle" time="0.005">
</testcase>
</testsuite>
<testsuite name="undefined" errors="0" failures="0" skipped="0" timestamp="2023-06-21T08:07:27" time="0.049" tests="1">
<testcase classname=" complete multi suites" name=" complete multi suites" time="0.005">
<testsuite name="undefined" errors="0" failures="0" skipped="0" timestamp="2023-06-21T10:22:13" time="0.042" tests="1">
<testcase classname=" get files" name=" get files" time="0.005">
</testcase>
</testsuite>
</testsuites>
2 changes: 1 addition & 1 deletion release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set -e
npm run lint
npm run build:cli
npm run test:ci
./bin/xunit-viewer -r junit.xml -c -C false
./bin/xunit-viewer.js -r junit.xml -c -C false
CURRENT=$(echo $(npm version | grep xunit-viewer | cut -d"'" -f4))
git commit -am "tested $CURRENT"

Expand Down
20 changes: 10 additions & 10 deletions src/app/app.js
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
import React, { useReducer, useEffect } from 'react'
// import Files from './files'
import Hero from './hero'
import Hero from './hero.js'
import initialState from './initial-state.json'
import parseAll from './parse-all'
import PropertiesOptions from './properties-options'
import reducer from './reducer'
import Suite from './suite'
import SuiteOptions from './suite-options'
import TestOptions from './test-options'
import Error from './error'
import Loading from './loading'
import parseAll from './parse-all.js'
import PropertiesOptions from './properties-options.js'
import reducer from './reducer.js'
import Suite from './suite.js'
import SuiteOptions from './suite-options.js'
import TestOptions from './test-options.js'
import Error from './error.js'
import Loading from './loading.js'

const App = ({ files, title, brand }) => {
const [state, dispatch] = useReducer(reducer, initialState)

useEffect(() => {
if (Object.keys(state.suites).length === 0) parseAll(dispatch, files, {})
}, [files])
}, [files, state.suites])

let currentPropertiesCount = 0
let propertiesTotal = 0
Expand Down
2 changes: 1 addition & 1 deletion src/app/hero.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react'
import Logo from './logo'
import Logo from './logo.js'

const FilterIcon = () => <i className='fas fa-filter' />

Expand Down
2 changes: 1 addition & 1 deletion src/app/parse-all.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import merge from 'merge'
import parse from './parse'
import parse from './parse.js'

export default async (dispatch, files, suites) => {
for (const { file, contents } of files) {
Expand Down
2 changes: 1 addition & 1 deletion src/app/properties-options.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react'
import Toggle from './toggle'
import Toggle from './toggle.js'

const Search = ({ label, dispatch }) => <div className='field options-search'>
<div className='control'>
Expand Down
2 changes: 1 addition & 1 deletion src/app/suite-options.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react'
import Toggle from './toggle'
import Toggle from './toggle.js'

const Search = ({ label, dispatch }) => <div className='field options-search'>
<div className='control'>
Expand Down
2 changes: 1 addition & 1 deletion src/app/suite.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react'
import RenderIfVisible from 'react-render-if-visible'
import Toggle from './toggle'
import Toggle from './toggle.js'

const icons = {
passed: 'check',
Expand Down
2 changes: 1 addition & 1 deletion src/app/test-options.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react'
import Toggle from './toggle'
import Toggle from './toggle.js'

const icons = {
passed: 'check',
Expand Down
3 changes: 0 additions & 3 deletions src/cli/static/css/2.7e3ff0be.chunk.css

This file was deleted.

1 change: 0 additions & 1 deletion src/cli/static/css/2.7e3ff0be.chunk.css.map

This file was deleted.

2 changes: 0 additions & 2 deletions src/cli/static/css/main.87c287ac.chunk.css

This file was deleted.

Loading

0 comments on commit 1e1b13b

Please sign in to comment.