Skip to content

Commit 041e185

Browse files
Merge pull request #79 from oslabs-beta/nextjs/beta
Updated nextjs beta test to use 'test' instead of 'it' declaration
2 parents 9fbc03b + 7de92bf commit 041e185

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

sapling/src/test/suite/parser.test.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ suite('Parser Test Suite', () => {
291291
tree = parser.parse();
292292
});
293293

294-
it('Root should be named index, children should be named Head, Navbar, and Image, children of Navbar should be named Link and Image', () => {
294+
test('Root should be named index, children should be named Head, Navbar, and Image, children of Navbar should be named Link and Image', () => {
295295
expect(tree).to.have.own.property('name').that.is.equal('index');
296296
expect(tree.children).to.have.lengthOf(3);
297297
expect(tree.children[0]).to.have.own.property('name').that.is.equal('Head');
@@ -301,7 +301,6 @@ suite('Parser Test Suite', () => {
301301
expect(tree.children[1].children).to.have.lengthOf(2);
302302
expect(tree.children[1].children[0]).to.have.own.property('name').that.is.equal('Link');
303303
expect(tree.children[1].children[1]).to.have.own.property('name').that.is.equal('Image');
304-
})
305-
304+
});
306305
});
307306
});

0 commit comments

Comments
 (0)