8000 Cleanup old LS remainders, disable CLI tests for now, rm ephemeral tests by machty · Pull Request #813 · typed-ember/glint · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Cleanup old LS remainders, disable CLI tests for now, rm ephemeral tests #813

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Mar 17, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
# Compiled output
/packages/*/lib
/packages/scripts/bin
/test-packages/*/lib

dist/
__fixtures__

# Ephemeral test applications
/test-packages/ephemeral
2 changes: 0 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,6 @@ jobs:
# max_attempts: 2
# timeout_minutes: 10
# command: yarn workspace glint-vscode test
# - name: Test @glint/scripts
# run: yarn workspace @glint/scripts test

# tracking for re-enablement here: https://github.com/typed-ember/glint/issues/728
# test-floating-deps:
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
node_modules
yarn-error.log
test-packages/ephemeral
.eslintcache
*.tsbuildinfo
*.js.map
Expand Down
4 changes: 0 additions & 4 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
# Compiled output
/packages/*/lib
/test-packages/*/lib
/packages/scripts/bin
dist/

# Ephemeral test applications
/test-packages/ephemeral

# Hidden directories
.*/

Expand Down
2 changes: 1 addition & 1 deletion packages/core/__tests__/cli/build.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { afterEach, beforeEach, describe, expect, test } from 'vitest';

Check warning on line 1 in packages/core/__tests__/cli/build.test.ts

View workflow job for this annotation

GitHub Actions / Lint

'expect' is defined but never used. Allowed unused vars must match /^_/u

Check warning on line 1 in packages/core/__tests__/cli/build.test.ts

View workflow job for this annotation

GitHub Actions / Lint

'describe' is defined but never used. Allowed unused vars must match /^_/u

Check warning on line 1 in packages/core/__tests__/cli/build.test.ts

View workflow job for this annotation

GitHub Actions / Lint

'beforeEach' is defined but never used. Allowed unused vars must match /^_/u

Check warning on line 1 in packages/core/__tests__/cli/build.test.ts

View workflow job for this annotation

GitHub Actions / Lint

'afterEach' is defined but never used. Allowed unused vars must match /^_/u

test('maybe reinstate these tests');

Expand Down Expand Up @@ -36,7 +36,7 @@
await project.destroy();
});

test.only('passes a valid basic project', async () => {
test('passes a valid basic project', async () => {
let code = stripIndent`
import '@glint/environment-ember-template-imports';
import Component from '@glimmer/component';
Expand Down
10 changes: 10 additions & 0 deletions packages/core/__tests__/cli/check-watch.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
import { afterEach, beforeEach, describe, expect, test } from 'vitest';

Check warning on line 1 in packages/core/__tests__/cli/check-watch.test.ts

View workflow job for this annotation

GitHub Actions / Lint

'beforeEach' is defined but never used. Allowed unused vars must match /^_/u

Check warning on line 1 in packages/core/__tests__/cli/check-watch.test.ts

View workflow job for this annotation

GitHub Actions / Lint

'afterEach' is defined but never used. Allowed unused vars must match /^_/u

test('maybe reinstate these tests');

/*
Skipping all of this for now. Now that we've offloaded a lot of this logic to Volar
this is an opportunity to rebuild the test suite to not re-test what Volar already
tests.

import * as os from 'node:os';
import { stripIndent } from 'common-tags';
import stripAnsi = require('strip-ansi');
Expand Down Expand Up @@ -385,3 +394,4 @@
});
});
});
*/
12 changes: 12 additions & 0 deletions packages/core/__tests__/cli/check.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
import { afterEach, beforeEach, describe, expect, test } from 'vitest';

test('maybe reinstate these tests');

/*
Skipping all of this for now. Now that we've offloaded a lot of this logic to Volar
this is an opportunity to rebuild the test suite to not re-test what Volar already
tests.



import { stripIndent } from 'common-tags';
import stripAnsi = require('strip-ansi');
import { describe, beforeEach, afterEach, test, expect } from 'vitest';
Expand Down Expand Up @@ -429,3 +440,4 @@ describe('CLI: single-pass typechecking', () => {
`);
});
});
*/
10 changes: 10 additions & 0 deletions packages/core/__tests__/cli/declaration.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
import { afterEach, beforeEach, describe, expect, test } from 'vitest';

test('maybe reinstate these tests');

/*
Skipping all of this for now. Now that we've offloaded a lot of this logic to Volar
this is an opportunity to rebuild the test suite to not re-test what Volar already
tests.

import { stripIndent } from 'common-tags';
import { describe, beforeEach, afterEach, test, expect } from 'vitest';
import { Project, BASE_TS_CONFIG } from 'glint-monorepo-test-utils';
Expand Down Expand Up @@ -137,3 +146,4 @@ describe('CLI: emitting declarations', () => {
`);
});
});
*/
85 changes: 0 additions & 85 deletions packages/core/__tests__/language-server/symbol-search.test.ts

This file was deleted.

4 changes: 0 additions & 4 deletions packages/core/src/language-server/messages.cts

This file was deleted.

15 changes: 0 additions & 15 deletions packages/core/src/language-server/util/index.ts
Original file line number Diff line number Diff line change
@@ -1,15 +0,0 @@
export { positionToOffset, offsetToPosition } from './position.js';

import { URI } from 'vscode-uri';

export function uriToFilePath(uri: string): string {
return URI.parse(uri).fsPath.replace(/\\/g, '/');
}

B558 export function filePathToUri(filePath: string): string {
return URI.file(filePath).toString();
}

export function normalizeFilePath(filePath: string): string {
return uriToFilePath(filePathToUri(filePath));
}
68 changes: 0 additions & 68 deletions packages/core/src/language-server/util/position.ts

This file was deleted.

111 changes: 0 additions & 111 deletions packages/core/src/language-server/util/previewer.ts

This file was deleted.

2 changes: 0 additions & 2 deletions packages/scripts/.gitignore

This file was deleted.

Loading
Loading
0