Skip to content

Commit

Permalink
feat: fix test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
lifeart committed Mar 28, 2022
1 parent 7960626 commit fed97aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/utils/glimmer-script-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ describe('glimmer-scripts', function () {
it('able to extract scope symbols from js class file by given path', function () {
const tpl = `
import foo from 'bar';
import { case } from 'ace';
import { cases } from 'ace';
var hello = 42;
class Boo {
n = class Foo {
Expand All @@ -24,7 +24,7 @@ describe('glimmer-scripts', function () {

const scope = getScope(p.scope);

expect(scope).toStrictEqual(['Foo', 'Boo', 'foo', 'case', 'hello']);
expect(scope).toStrictEqual(['Foo', 'Boo', 'foo', 'cases', 'hello']);
});
it('able to extract scope from js variable notation by given path', function () {
const tpl = `
Expand Down

0 comments on commit fed97aa

Please # to comment.