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

Commit 085cd5a

Browse files
author
Jan Krems
committed
refactor: Consistent import style
1 parent 5dcc319 commit 085cd5a

7 files changed

Lines changed: 11 additions & 27 deletions

File tree

examples/myscript.js

Lines changed: 0 additions & 11 deletions
This file was deleted.

examples/strings.js

Lines changed: 0 additions & 5 deletions
This file was deleted.

test/cli/backtrace.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
'use strict';
2-
const tap = require('tap');
2+
const { test } = require('tap');
33

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

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

99
function onFatal(error) {

test/cli/break.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
'use strict';
2-
const tap = require('tap');
2+
const { test } = require('tap');
33

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

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

99
function onFatal(error) {

test/cli/invalid-args.test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
'use strict';
2-
const tap = require('tap');
2+
const { test } = require('tap');
33

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

6-
tap.test('launch CLI w/o args', (t) => {
6+
test('launch CLI w/o args', (t) => {
77
const cli = startCLI([]);
88
return cli.quit()
99
.then((code) => {
@@ -12,7 +12,7 @@ tap.test('launch CLI w/o args', (t) => {
1212
});
1313
});
1414

15-
tap.test('launch w/ invalid host:port', (t) => {
15+
test('launch w/ invalid host:port', (t) => {
1616
const cli = startCLI(['localhost:914']);
1717
return cli.quit()
1818
.then((code) => {

test/cli/launch.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
'use strict';
2-
const tap = require('tap');
2+
const { test } = require('tap');
33

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

6-
tap.test('examples/empty.js', (t) => {
6+
test('examples/empty.js', (t) => {
77
const cli = startCLI(['examples/empty.js']);
88
return cli.waitForPrompt()
99
.then(() => {

test/cli/scripts.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
'use strict';
2-
const tap = require('tap');
2+
const { test } = require('tap');
33

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

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

99
function onFatal(error) {

0 commit comments

Comments
 (0)