Skip to content

Commit

Permalink
snapshot for first POC
Browse files Browse the repository at this point in the history
  • Loading branch information
izelnakri committed Mar 14, 2021
1 parent a3b81ac commit f37c0ab
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 6 deletions.
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
TODO
test
vendor
dist
docs
tmp
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ RUN apt-get update && \

WORKDIR /code/

ADD package-lock.json /code/package-lock.json
ADD package.json /code/package.json
ADD package-lock.json package.json /code/

RUN npm install

Expand Down
4 changes: 3 additions & 1 deletion TODO
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
try this: $ npx ava --tap | npx tap-nyan

try this: $ npx ava --tap | npx tap-difflet
or this: $ npx ava --tap | npx faucet

research mocha reporter(TAP > reporters | json stream metada then it consumes this metadata(how?))
example good reporters: spec(reporter), dot, tap, landing strip(interesting instead put percentage), jest
Expand Down
3 changes: 1 addition & 2 deletions lib/setup/browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export default async function(options = {
window.socket.send(JSON.stringify({ event: 'done', details: details }));
window.setTimeout(() => {
window.testTimeout = ${options.timeout};
}, 10);
}, 50);
});
window.setTimeout(() => window.QUnit.start(), 10);
Expand Down Expand Up @@ -94,4 +94,3 @@ function turnToObjects(jsHandle) {
// function turnMStoSecond(timeInMS) {
// return (timeInMS / 1000).toFixed(2);
// }

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "qunitx",
"type": "module",
"version": "0.0.11",
"version": "0.0.12",
"description": "Experimental improvements, suggestions for qunit CLI",
"author": "Izel Nakri",
"license": "MIT",
Expand Down
5 changes: 5 additions & 0 deletions test/flags/timeout-test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import test from 'ava';

test('todo', async (t) => {
t.true(true);
});
5 changes: 5 additions & 0 deletions test/flags/watch-test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import test from 'ava';

test('todo', async (t) => {
t.true(true);
});

0 comments on commit f37c0ab

Please sign in to comment.