Skip to content
This repository has been archived by the owner on Feb 1, 2022. It is now read-only.

Commit

Permalink
refactor: Consistent import style
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Krems committed Oct 15, 2016
1 parent 5dcc319 commit 085cd5a
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 27 deletions.
11 changes: 0 additions & 11 deletions examples/myscript.js

This file was deleted.

5 changes: 0 additions & 5 deletions examples/strings.js

This file was deleted.

4 changes: 2 additions & 2 deletions test/cli/backtrace.test.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
'use strict';
const tap = require('tap');
const { test } = require('tap');

const startCLI = require('./start-cli');

tap.test('display and navigate backtrace', (t) => {
test('display and navigate backtrace', (t) => {
const cli = startCLI(['examples/backtrace.js']);

function onFatal(error) {
Expand Down
4 changes: 2 additions & 2 deletions test/cli/break.test.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
'use strict';
const tap = require('tap');
const { test } = require('tap');

const startCLI = require('./start-cli');

tap.test('stepping through breakpoints', (t) => {
test('stepping through breakpoints', (t) => {
const cli = startCLI(['examples/break.js']);

function onFatal(error) {
Expand Down
6 changes: 3 additions & 3 deletions test/cli/invalid-args.test.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
'use strict';
const tap = require('tap');
const { test } = require('tap');

const startCLI = require('./start-cli');

tap.test('launch CLI w/o args', (t) => {
test('launch CLI w/o args', (t) => {
const cli = startCLI([]);
return cli.quit()
.then((code) => {
Expand All @@ -12,7 +12,7 @@ tap.test('launch CLI w/o args', (t) => {
});
});

tap.test('launch w/ invalid host:port', (t) => {
test('launch w/ invalid host:port', (t) => {
const cli = startCLI(['localhost:914']);
return cli.quit()
.then((code) => {
Expand Down
4 changes: 2 additions & 2 deletions test/cli/launch.test.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
'use strict';
const tap = require('tap');
const { test } = require('tap');

const startCLI = require('./start-cli');

tap.test('examples/empty.js', (t) => {
test('examples/empty.js', (t) => {
const cli = startCLI(['examples/empty.js']);
return cli.waitForPrompt()
.then(() => {
Expand Down
4 changes: 2 additions & 2 deletions test/cli/scripts.test.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
'use strict';
const tap = require('tap');
const { test } = require('tap');

const startCLI = require('./start-cli');

tap.test('list scripts', (t) => {
test('list scripts', (t) => {
const cli = startCLI(['examples/empty.js']);

function onFatal(error) {
Expand Down

0 comments on commit 085cd5a

Please sign in to comment.