Skip to content

Commit

Permalink
chore: move Website builder in tools (#1005)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lightning00Blade authored Jul 11, 2023
1 parent fa6f794 commit cfa01d1
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/wpt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ jobs:
- name: Generate HTML test report
if: success() || failure()
run: >
node test-report/htmlWptReport.mjs
node tools/wpt-report-builder/builder.mjs
out/wptreport.json
out/wptreport.html
- name: Upload expectations
Expand Down
2 changes: 1 addition & 1 deletion .mocharc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"require": ["source-map-support/register"],
"source-maps": true,
"spec": "{lib,test-report}/**/*.spec.{js,mjs}"
"spec": "{lib,tools}/**/*.spec.{js,mjs}"
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

import fs from 'fs';

import {generateReport} from './htmlWptReportFormatter.mjs';
import {generateReport} from './formatter.mjs';

function readReport(filePath) {
const rawReport = fs.readFileSync(filePath);
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import {
flattenSingleTest,
flattenTests,
groupTests,
} from './htmlWptReportFormatter.mjs';
} from './formatter.mjs';

describe('HTML WPT reporter', () => {
it('should escapeHtml', () => {
Expand Down

0 comments on commit cfa01d1

Please sign in to comment.