Skip to content
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

chore: rename model-encapsulation tests, remove smoke-test #8978

Merged
merged 2 commits into from
Oct 9, 2023
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
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"lint:js": "eslint --quiet --cache --cache-strategy=content --ext=js,ts .",
"preinstall": "npx only-allow pnpm",
"problems": "tsc -p tsconfig.json --noEmit --pretty false",
"test": "pnpm --filter main-test-app --filter graph-test-app --filter json-api-test-app --filter request-test-app --filter builders-test-app run test",
"test": "pnpm --filter --filter 'ember-data__*' main-test-app --filter graph-test-app --filter json-api-test-app --filter request-test-app --filter builders-test-app run test",
"test:production": "pnpm --filter main-test-app --filter graph-test-app --filter json-api-test-app run test -e production",
"test:try-one": "pnpm --filter main-test-app run test:try-one",
"test:docs": "pnpm build:docs && pnpm --filter docs-tests test",
Expand Down
212 changes: 106 additions & 106 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions tests/ember-data__model/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Tests for @ember-data/model

This test-package provides tests for the `@ember-data/model` package.

## Running Tests Locally

If you do not already have the project cloned and dependencies installed, you may want to first read [Setting Up The Project](../../contributing/setting-up-the-project.md)

```cli
cd tests/ember-data__model;
pnpm test;
```
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,22 @@
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>EncapsulationTestApp</title>
<title>@ember-data/model</title>
<meta name="description" content="" />
<meta name="viewport" content="width=device-width, initial-scale=1" />

{{content-for "head"}}

<link integrity="" rel="stylesheet" href="{{ rootURL }}assets/vendor.css" />
<link integrity="" rel="stylesheet" href="{{ rootURL }}assets/model-encapsulation-test-app.css" />
<link integrity="" rel="stylesheet" href="{{ rootURL }}assets/ember-data__model.css" />

{{content-for "head-footer"}}
</head>
<body>
{{content-for "body"}}

<script src="{{ rootURL }}assets/vendor.js"></script>
<script src="{{ rootURL }}assets/model-encapsulation-test-app.js"></script>
<script src="{{ rootURL }}assets/ember-data__model.js"></script>

{{content-for "body-footer"}}
</body>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

module.exports = function (environment) {
let ENV = {
modulePrefix: 'model-encapsulation-test-app',
modulePrefix: 'ember-data__model',
environment,
rootURL: '/',
locationType: 'history',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "model-encapsulation-test-app",
"name": "ember-data__model",
"version": "5.5.0-alpha.11",
"private": true,
"description": "Small description for encapsulation-test-app goes here",
"description": "Tests for @ember-data/model",
"repository": {
"type": "git",
"url": "https://github.com/emberjs/data.git",
"directory": "tests/model-encapsulation"
"directory": "tests/ember-data__model"
},
"license": "MIT",
"author": "",
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
{{content-for "test-head"}}

<link rel="stylesheet" href="{{ rootURL }}assets/vendor.css" />
<link rel="stylesheet" href="{{ rootURL }}assets/model-encapsulation-test-app.css" />
<link rel="stylesheet" href="{{ rootURL }}assets/ember-data__model.css" />
<link rel="stylesheet" href="{{ rootURL }}assets/test-support.css" />

{{content-for "head-footer"}}
Expand All @@ -31,7 +31,7 @@
<script src="/testem.js" integrity=""></script>
<script src="{{ rootURL }}assets/vendor.js"></script>
<script src="{{ rootURL }}assets/test-support.js"></script>
<script src="{{ rootURL }}assets/model-encapsulation-test-app.js"></script>
<script src="{{ rootURL }}assets/ember-data__model.js"></script>
<script src="{{ rootURL }}assets/tests.js"></script>

{{content-for "body-footer"}}
Expand Down
57 changes: 0 additions & 57 deletions tests/model-encapsulation/README.md

This file was deleted.

Loading
Loading